-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Proposal: --bundle option should allow for restricting output to parts of a project #4729
Comments
Question: Why not just have multiple config files, one for each target? |
I'm not sure if Visual Studio project settings will allow for that. |
Even if they don't presently, they probably could. |
Will we be moving completely from msbuild towards nodejs/gulp taskrunners? 2015-09-11 11:31 GMT+02:00 Wesley Wigham notifications@github.com:
|
Yeah, if you use |
As @weswigham mentioned, this is something that is achievable by calling the compiler multiple times. The compiler is not meant to be a replacement to your build driver, e.g. gulp/grunt/msbuild etc.. and it can not assume all of their tasks. |
Taking up issues #4225 and #4434 I like to propose that it should be possible to create groups of bundles within a project.
A project commonly consists of files constituting the task to accomplish (i.e. the "library" to create), a number of test cases and other supporting files.
Concatenating them all into a single file would not be the intention of the programmer.
Hence, I'd like to propose to add an optional parameter to the
--bundle
option allowing for selectively adding branches of the project to the generated file.The suggested format is a JSON array, allowing for concatenating parts of a project into different JavaScript files.
.
Here's an example of such argument:
... or a more vivid example:
The text was updated successfully, but these errors were encountered: