mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
UI dependency graph cleanup
This commit is contained in:
parent
86ea33b638
commit
4948d0608b
87 changed files with 1119 additions and 735 deletions
20
Gruntfile.js
20
Gruntfile.js
|
@ -155,6 +155,25 @@ module.exports = function (grunt) {
|
|||
}
|
||||
},
|
||||
|
||||
requirejs: {
|
||||
compile:{
|
||||
options: {
|
||||
mainConfigFile: "_output/UI/app.js",
|
||||
fileExclusionRegExp: /^.*\.(?!js$)[^.]+$/,
|
||||
preserveLicenseComments: true,
|
||||
dir: "rjs/",
|
||||
optimize: 'none',
|
||||
removeCombined: true,
|
||||
inlineText: false,
|
||||
modules: [{
|
||||
name: 'app',
|
||||
exclude: ['JsLibraries/jquery']
|
||||
}],
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
options: {
|
||||
nospawn: false,
|
||||
|
@ -213,6 +232,7 @@ module.exports = function (grunt) {
|
|||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
grunt.loadNpmTasks('grunt-notify');
|
||||
grunt.loadNpmTasks('grunt-curl');
|
||||
grunt.loadNpmTasks('grunt-contrib-requirejs');
|
||||
|
||||
grunt.registerTask('package', ['clean:output', 'copy', 'less', 'handlebars']);
|
||||
grunt.registerTask('default', ['package', 'watch']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue