Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation of minification / uglify (with "gulp") #176

arvgta opened this issue Sep 28, 2019 · 1 comment


Copy link

@arvgta arvgta commented Sep 28, 2019

The user who has proposed this issue is prepared to share the code to perform this simplification soon.

The proposed feature will be a significant simplification to the process of minifying Ajaxify's code, when a user wants to derive from it.

@arvgta arvgta added the enhancement label Sep 28, 2019
@arvgta arvgta closed this Sep 28, 2019
@arvgta arvgta mentioned this issue Sep 28, 2019
@arvgta arvgta reopened this Oct 1, 2019

This comment has been minimized.

Copy link

@edito edito commented Oct 2, 2019

Gulp minification

Before you proceed using gulp in terminal, gulp command line interface has to be installed globally with (terminal) commands:

npm install -g gulp
npm install -g gulp-cli

If something goes wrong with installation check this link for npm requirements of gulp.

Next step is opening terminal path to gulp folder (folder with required files is currently only inside my fork of ajaxify repository) that is placed inside repository and typing npm install. Node package manager will install all required packages that are necessary for minification process. After this process is finished you type gulp to minify ajaxify any time.

There are some aditional tasks like gulp w to run watcher that is tracking changes of source file and does minification automatically after saving file, gulp dev and gulp prod (commented inside gulpfile.js).
Code inside gulpfile.js is also well commented, so everyone can tweak stuff for its own needs.

This video can be also helpful.

@arvgta arvgta closed this Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.