summaryrefslogtreecommitdiff
path: root/hooks/uglify-config.json
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/uglify-config.json')
-rw-r--r--hooks/uglify-config.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/hooks/uglify-config.json b/hooks/uglify-config.json
new file mode 100644
index 00000000..de85bb2a
--- /dev/null
+++ b/hooks/uglify-config.json
@@ -0,0 +1,18 @@
+{
+ "alwaysRun": false,
+ "recursiveFolderSearch": true,
+ "foldersToProcess": [
+ "js",
+ "css"
+ ],
+ "uglifyJsOptions": {
+ "compress": {
+ "drop_console": true
+ },
+ "fromString": true
+ },
+ "cleanCssOptions": {
+ "noAdvanced": true,
+ "keepSpecialComments": 0
+ }
+} \ No newline at end of file