[deploy] fix inlining scripts for reporter

This commit is contained in:
maxkadushkin
2025-02-02 23:29:05 +03:00
parent 9bbf0bf2b4
commit 5bc63b32c0

View File

@ -556,11 +556,19 @@ module.exports = function(grunt) {
dest: packageFile.main.reporter.uglify.dest dest: packageFile.main.reporter.uglify.dest
}, },
}, },
inline: {
options: {
uglify: true
},
dist: {
src: '<%= Object.keys(pkg.main.reporter.copy)[0] %>'
}
},
copy: packageFile.main.reporter.copy copy: packageFile.main.reporter.copy
}); });
grunt.task.run(['terser', 'copy']); grunt.task.run(['terser', 'copy', 'inline']);
}); });
grunt.registerTask('mobile-app-init', function() { grunt.registerTask('mobile-app-init', function() {