Sourcemap generated from Gulp, not working as expected
问题 So my app is running off a concatenated admin.bundle.js file. I'm using webpack to manage the modules, and then using gulp-webpack to import my webpack config, then run the sourcemap code: gulp.task('webpack', function() { return gulp.src('entry.js') .pipe(webpack( require('./webpack.config.js') )) .pipe(sourcemaps.init()) .pipe(sourcemaps.write('./')) .pipe(gulp.dest('app/assets/js')); }); My Webpack config var webpack = require('webpack'); module.exports = { entry: "./entry.js", output: {