File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ gulp.task('browserify-lighthouse', () => {
101101 'app/src/lighthouse-background.js'
102102 ] , { read : false } )
103103 . pipe ( tap ( file => {
104- let bundle = browserify ( file . path ) ; // , {debug: true})
104+ let bundle = browserify ( file . path ) ; // , {debug: true}); // for sourcemaps
105105 bundle = applyBrowserifyTransforms ( bundle ) ;
106106
107107 // lighthouse-background will need some additional transforms, ignores and requires…
@@ -161,6 +161,7 @@ gulp.task('compilejs', () => {
161161 retainLines : true , // Keep things on the same line (looks wonky but helps with stacktraces)
162162 comments : false , // Don't output comments
163163 shouldPrintComment : _ => false , // Don't include @license or @preserve comments either
164+ // sourceMaps: 'both'
164165 } ;
165166
166167 return gulp . src ( [ 'dist/scripts/lighthouse-background.js' ] )
You can’t perform that action at this time.
0 commit comments