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 1c79040 commit 10d8026Copy full SHA for 10d8026
Gruntfile.js
@@ -218,6 +218,16 @@ module.exports = function (grunt)
218
219
// Minify and copy JavaScript files from `node_modules` and from `src/js/` to `public/assets/js/`.
220
terser: {
221
+ options: {
222
+ ecma: 2015,
223
+ compress: {
224
+ booleans_as_integers: true,
225
+ drop_console: true
226
+ },
227
+ format: {
228
+ comments: false
229
+ }
230
231
dist: {
232
files: [
233
{
package.json
@@ -24,7 +24,7 @@
24
"grunt-replace-regex": "1.0.3",
25
"grunt-sass": "3.1.0",
26
"grunt-stylelint": "0.16.0",
27
- "grunt-terser": "1.0.0",
+ "grunt-terser": "2.0.0",
28
"load-grunt-tasks": "5.1.0",
29
"sass": "1.32.5",
30
"stylelint": "13.9.0",
0 commit comments