diff --git a/build/Gruntfile.js b/build/Gruntfile.js index e3784b07d3..5bb26d156e 100644 --- a/build/Gruntfile.js +++ b/build/Gruntfile.js @@ -556,11 +556,19 @@ module.exports = function(grunt) { dest: packageFile.main.reporter.uglify.dest }, }, + inline: { + options: { + uglify: true + }, + dist: { + src: '<%= Object.keys(pkg.main.reporter.copy)[0] %>' + } + }, copy: packageFile.main.reporter.copy }); - grunt.task.run(['terser', 'copy']); + grunt.task.run(['terser', 'copy', 'inline']); }); grunt.registerTask('mobile-app-init', function() {