Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Add a config option to browserify-{es2015,typescript} to allow marking modules as external#45

Open
ghost wants to merge 2 commits intomasterfrom
unknown repository
Open

Add a config option to browserify-{es2015,typescript} to allow marking modules as external#45
ghost wants to merge 2 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Aug 3, 2016

Browserify externals cannot be configured via standard options therefore a special case is needed. With this change the user can modify the build process to split the code into app and vendor bundles.

The option location is a matter of opinion. I picked options.browserifyOptions.external as this is a Browserify-specific option but not a standard Browserify option so I can understand someone preferring options.external instead. I'm happy to alter the patch if you would prefer it this way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants