mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
[deploy] fix inlining scripts for reporter
This commit is contained in:
@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user