You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm developing my angular2 package and will publish to our private npm warehouse
in angular-cli 1.0.0-beta.14 , when building my source code,there are three problems:
1)how to copy files to dist dir? that can be done in angular-cli 1.0.0-beta.10
2)how to keep the js and .d.ts files in the dist dir? that also can be done in angular-cli 1.0.0-beta.10
3) webpack does not build the not used files
Thanks! We'll be in touch soon.
The text was updated successfully, but these errors were encountered:
We are building reusable angular 2 libraries that have modules that wrap common functionality, I could be wrong but most likely the CLI Webpack is not going to be the right tool for the job. You would not want to bundle all your scripts inside your library package, Webpack is going to do that anyways when your library is a dependency of your web app.
I use Gulp to manage my build tasks for my library packages. The CLI Webpack is appropriate for web application code.
i'm developing my angular2 package and will publish to our private npm warehouse
in angular-cli 1.0.0-beta.14 , when building my source code,there are three problems:
1)how to copy files to dist dir? that can be done in angular-cli 1.0.0-beta.10
2)how to keep the js and .d.ts files in the dist dir? that also can be done in angular-cli 1.0.0-beta.10
3) webpack does not build the not used files
The text was updated successfully, but these errors were encountered: