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
It seems that uglify cannot find the source file to put in the source maps after pure-cjs...
The only way I found to successfully uglify the pure-cjs build is to insert an empty gulp-concat after it (but it adds an inexistant source to the source maps).
The text was updated successfully, but these errors were encountered:
QuentinRoy
changed the title
gulp-pure-cjs + gulp-uglify + gulp-sourcemaps fail
gulp-pure-cjs + gulp-uglify + gulp-sourcemaps fails
Feb 7, 2015
this is probably related to the Beware notice in the README:
"pure-cjs always re-read files from disk, so if you load other plugin in pipeline that changes file content, this changes will be lost!"
It sounds like pure-cjs isn't reading or writing streams which is what gulp.pipe expects from my understanding, but I'm still pretty new to using gulp.
When gulp-pure-cjs is piped to gulp-uglify while source maps are being kept updated, it fails.
It seems that uglify cannot find the source file to put in the source maps after pure-cjs...
The only way I found to successfully uglify the pure-cjs build is to insert an empty gulp-concat after it (but it adds an inexistant source to the source maps).
The text was updated successfully, but these errors were encountered: