1
0
mirror of https://github.com/ONLYOFFICE/web-apps.git synced 2025-04-18 14:44:08 +03:00

[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
},
},
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() {