javascript - Generating source maps from browserify using grunt -
i have followed instructions here: https://www.npmjs.org/package/grunt-browserify, try , set source maps browserify on grunt. options browserify in gruntfile :
browserify: { options: { bundleoptions : { debug: true } }, dist: { files: { "public/client.bundle.js": ["bundle.js"] } } }
the generation of bundle.js happens without issues, source map generation not happen. there wrong grunt-browserify options.
thanks looking.
use browserifyoptions instead of bundleoptions
browserify: { options: { browserifyoptions: { debug: true } }, ... }
Comments
Post a Comment