Skip to content
This repository has been 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
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Gilead
Copy link

@Gilead Gilead 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.

1 participant