Closed cubitus81 closed 8 years ago
I'm not able to reproduce this with my project. Are you able to create a minimal example that contains the issue?
Hi Jonathan,
Please find my example. If it matters, I am still using npm 2. UI.zip
Thank you for your help.
This is definitely a bug. uglify adds its own sourceMappingURL comment during minification which gets duplicated by gulp-sourcemaps. I'm working on a fix now.
Hi,
I tried using gulp-requirejs-optimize with sourcemaps and find that the optimized file contains two lines of sourceMappingURL
//# sourceMappingURL=main.js.build.js.map //# sourceMappingURL=main-optimized.min.js.map
The first line should not be in the optimized file. Is there a setting that I should use to remove the first line?
Here is the code that I have.
Thank you.