You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like as per issues #9 and #49, sourcemaps work if there is no minification. That's great and all but sourcemaps are way more useful when minification is happening and I can see very few use-cases where minification isn't used in production deployment. However, I've tried gulp-uglify and gulp-minify with gulp-sourcemaps and gulp-include and can only get the sourcemaps to work when I skip minification. Here's my current environment:
That's with gulp-minify, which I'd ideally like to use, but even when I remove that .pipe(minify({...}) block and put in .pipe(uglify()), I still don't get a proper sourcemap. I can see that it's trying because it says that my test file, which is at the end of including jQuery, is part of jQuery only at the end of the file. If I even just include the site.js instead of site.min.js, it's correct. Does anyone have a working method for using sourcemaps with include and minification?
The text was updated successfully, but these errors were encountered:
Looks like as per issues #9 and #49, sourcemaps work if there is no minification. That's great and all but sourcemaps are way more useful when minification is happening and I can see very few use-cases where minification isn't used in production deployment. However, I've tried
gulp-uglify
andgulp-minify
withgulp-sourcemaps
andgulp-include
and can only get the sourcemaps to work when I skip minification. Here's my current environment:And I'm on Node 11.15.0. My task looks like the following:
That's with
gulp-minify
, which I'd ideally like to use, but even when I remove that.pipe(minify({...})
block and put in.pipe(uglify())
, I still don't get a proper sourcemap. I can see that it's trying because it says that my test file, which is at the end of including jQuery, is part of jQuery only at the end of the file. If I even just include thesite.js
instead ofsite.min.js
, it's correct. Does anyone have a working method for using sourcemaps with include and minification?The text was updated successfully, but these errors were encountered: