Skip to content

Commit

Permalink
Avoid stripping assertions in debug builds. See #787.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 authored and jessegreenberg committed Nov 10, 2020
1 parent c7038bd commit ddd8f65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/grunt/buildRunnable.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ module.exports = async function( repo, minifyOptions, instrument, allHTML, brand
stripAssertions: false,
stripLogging: false
} : {
minify: true,
beautify: true,
mangle: false
mangle: false,
minify: true,
stripAssertions: false
};

const usedModules = webpackResult.usedModules;
Expand Down

0 comments on commit ddd8f65

Please sign in to comment.