Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support For static resources during build #11485

Closed
fkolar opened this issue Jul 7, 2018 · 3 comments
Closed

Support For static resources during build #11485

fkolar opened this issue Jul 7, 2018 · 3 comments

Comments

@fkolar
Copy link

fkolar commented Jul 7, 2018

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X ] feature request

Area

- [ X] devkit
- [ X] schematics

Versions

Angular CLI: 6.0.8
Node: 8.9.1
OS: darwin x64
Angular: 6.0.7

Repro steps

The new cli6 and how everything is wired thru shematics that drives whole proces is great addition, but when the project gets larger there is also some need (in our case) to copy some statics and non TS Angular resources, scripts, fonts, and some others.

Desired functionality

Some copy schematics that I would add to the build process that would allow me to simply copy directories. Or maybe its even

It seems like this is something similar: ng-packagr/ng-packagr#123

@fkolar
Copy link
Author

fkolar commented Jul 7, 2018

ok. I surfed around and it seems allot of pople try to solve the same problem standard way instead of using custom gulp tasks

#10869
ng-packagr/ng-packagr#123
and many many others.. ;-(

@filipesilva
Copy link
Contributor

If you need to just copy some static files in a angular browser app, you can use the asset configuration: https://github.com/angular/angular-cli/wiki/stories-asset-configuration

If you are using a library via @angular-devkit/build-ng-packagr, then ng-packagr/ng-packagr#123 is the issue you should be looking at.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants