Last active
August 29, 2015 14:04
-
-
Save matej21/d5bcaf8126235eb2cdc1 to your computer and use it in GitHub Desktop.
grunt + webloader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webloader: | |
js: | |
default: | |
remoteFiles: | |
- /dist/front/output.js | |
admin: | |
remoteFiles: | |
- /dist/admin/output.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webloader: | |
js: | |
default: | |
files: | |
- %wwwDir%/dist/front/output.js | |
admin: | |
files: | |
- %wwwDir%/dist/admin/output.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uglify: { | |
options: { | |
compress: false, | |
sourceMap: true | |
}, | |
front: { | |
files: { | |
'./www/dist/front/output.js': [ | |
"./www/vendor/jquery/dist/jquery.js", | |
"./www/vendor/nette.ajax.js/nette.ajax.js", | |
"./www/assets/front/js/scripts.js" | |
] | |
} | |
}, | |
admin: { | |
files: { | |
"./www/dist/admin/output.js": [ | |
"./www/vendor/jquery/dist/jquery.js", | |
"./www/vendor/bootstrap/js/bootstrap-collapse.js", | |
"./www/vendor/bootstrap/js/bootstrap-dropdown.js", | |
"./www/vendor/bootstrap/js/bootstrap-tooltip.js", | |
"./www/vendor/bootstrap/js/bootstrap-popover.js", | |
"./www/vendor/bootstrap/js/bootstrap-modal.js", | |
"./www/vendor/nette.ajax.js/nette.ajax.js", | |
"./www/assets/datepicker/js/bootstrap-datepicker.js", | |
"./www/assets/datepicker/js/bootstrap-datepicker.cs.js", | |
"./www/vendor/jquery-zclip/jquery.zclip.js", | |
"./www/assets/admin/js/scripts.js" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment