↧
Answer by Kim for Avoid bundling specific modules with Browserify
Use the --exclude option together with --node:browserify --node -s GlobalVariable your-script.js -o bundle.js --exclude some-dependencyThis will create the bundle.js file which will define the...
View ArticleAvoid bundling specific modules with Browserify
I have a dependency tree like this:index.js \__ A \__ B \__ C | \__ D \__ EI want to bundle index.js and that works fine: browserify --node index.js -o bundle.jsThe problem is when one of the...
View Article