Quantcast
Channel: Avoid bundling specific modules with Browserify - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article


Avoid 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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>