cordova-uglify
cordova-uglify copied to clipboard
Cordova hook that allows you to uglify or minify your apps JavaScript and CSS.
Hi, I realized this package is outdated considering the new way cordova deals with hooks. I made a full functional minification script that is updated considering the new way cordova...
Hi there, `hooks` directory is deprecated in the latest version of Cordova, according to its documentation. Now the hook is defined in `config.xml`. You might want to take that into...
it doesn't work when i build cordova-android 9 and cordova 9 version
I know this there is an open issue on this thread already, however, most of the info on that thread is about deploying from a windows machine. I am having...
Hi, when I try uglify, it overwrites all .js files, but they contet is only one single word "undefined". ![image](https://user-images.githubusercontent.com/6713920/29700887-773faf1e-8968-11e7-8219-e7057877474d.png) stripped debug log: cordova -d prepare ``` No scripts found...
I modified the script to KEEP the license at the beginning of my code and exclude frameworks like jquery as they might have issues. In declarations: var saveLicense = require('uglify-save-license');...
Hi! Thanks for nice plugin :-) I wonder if it is possible to specify whether to run cordova-uglify or not, besides the --release option? E.g. if one wants to use...
Hi! I've used the plugin for a while and I always check the `.apk` file size to see if it's still "too big" after using the plugin.... So, I've made...
E:\auth>ionic build android Running command: "C:\Program Files\nodejs\node.exe" E:\auth\hooks\before_prepare \02_jshint.js E:\auth Linting www/js/app.js ## File www/js/app.js has no errors. Linting www/js/constants.js ## File www/js/constants.js has no errors. Linting www/js/controllers.js ## File...
This can save a time spent on multiple requests to file systems to load each JS file. If someone is using AngularJS(Ionic) and is following best practices, then would have...