Skip to content

Support for user defined bundles #1541

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

Closed
adamduren opened this issue Aug 3, 2016 · 4 comments · Fixed by #1633
Closed

Support for user defined bundles #1541

adamduren opened this issue Aug 3, 2016 · 4 comments · Fixed by #1633
Labels
feature Issue that requests a new feature

Comments

@adamduren
Copy link

Is it possible to define additional bundles in an angular-cli project? I thought it may be possible by defining a second app in the angular-cli.json file but this does not appear to be the case. Currently to achieve this I have an external webpack.config.js file and I'm running webpack to create the separate bundles alongside what angular-cli produces. The end goal would be to be able to create them all with just one command.

@FraserKillip
Copy link

I would also like a way to add my own plugins to the build process also. For example I would like to add a plugin that will write a .htaccess file to configure HTTP/2 push.

@adamduren
Copy link
Author

In my particular use case I am building a browser extension. The extension consists on a popup when clicking the extension button which opens an angular application. It also uses injected scripts to enhance the current web page the user is viewing. I would like to use Typescript and have code reuse with the popup window. Currently I am accomplishing it with the separate webpack/gulp script but this requires another command-line and additional tools to be running.

@filipesilva
Copy link
Contributor

#1633 allows adding more files to be compiled.

@filipesilva filipesilva added feature Issue that requests a new feature feature: webpack labels Aug 15, 2016
@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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Issue that requests a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants