javascript - Browserify module hash not recognized after bundling -
javascript - Browserify module hash not recognized after bundling -
i'm using this guide having multiple bundles in gulp-browserify configuration. want seperate vendor , app scripts minimize build times much possible.
basically uses bundle.require() , bundle.external() within browserify.on('prebundle') work:
the tasks run fine, in browser error:
uncaught error: cannot find module 'xpfelz'
after opening created main.js (build/main.js) see this:
what missing? why module name go weird? if manually alter xpfelz jquery works fine.
this issue seems related although never resolved.
edit: apparently 'xpfelz' hash assigned browserify. why hash not recognized within main.js?
javascript jquery build-process gulp browserify
Comments
Post a Comment