diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/tasks/build.js | 2 | ||||
-rw-r--r-- | build/tasks/sourcemap.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index bcfa8ceae..98d95cbe5 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -339,6 +339,6 @@ module.exports = function( grunt ) { ""; grunt.log.writeln( "Creating custom build...\n" ); - grunt.task.run( [ "build:*:*" + ( modules ? ":" + modules : "" ), "uglify", "dist" ] ); + grunt.task.run( [ "build:*:*" + ( modules ? ":" + modules : "" ), "terser", "dist" ] ); } ); }; diff --git a/build/tasks/sourcemap.js b/build/tasks/sourcemap.js index 509374f2e..f6ef5698e 100644 --- a/build/tasks/sourcemap.js +++ b/build/tasks/sourcemap.js @@ -3,7 +3,7 @@ var fs = require( "fs" ); module.exports = function( grunt ) { - var config = grunt.config( "uglify.all.files" ); + var config = grunt.config( "terser.all.files" ); grunt.registerTask( "remove_map_comment", function() { var minLoc = grunt.config.process( Object.keys( config )[ 0 ] ); |