We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071e5e3 commit 61b7393Copy full SHA for 61b7393
dumber/gulpfile.js
@@ -203,7 +203,12 @@ function build() {
203
// https://github.com/terser-js/terser#terser-fast-minify-mode
204
// It's a good balance on size and speed to turn off compress.
205
.pipe(gulpif(isProduction, terser({compress: false})))
206
+ // @if !jasmine && !mocha && !tape
207
.pipe(gulp.dest(dist, {sourcemaps: isProduction ? false : '.'}));
208
+ // @endif
209
+ // @if jasmine || mocha || tape
210
+ .pipe(gulp.dest(dist, {sourcemaps: isProduction ? false : (isTest ? true : '.')}));
211
212
}
213
214
function clean() {
0 commit comments