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

Add gulp to transpile and minify frontend javascript #261

Conversation

sque89
Copy link

@sque89 sque89 commented Apr 3, 2023

This PR reduces the overall size of the 9 JS files which are loaded by ~50%. Happy to reveive some feedback on that. It respects the SCRIPT_DEBUG config to load the unminified version if it is enabled.

@duracelltomi i was not quite sure about the babelrc file. It looked to me that it was not used.

fixes: #257

@sque89 sque89 changed the title Add gulp to transpile frontend with babel and minify afterwards Add gulp to transpile and minify frontend javascript Apr 3, 2023
@morvy morvy mentioned this pull request Jul 6, 2023
@duracelltomi duracelltomi changed the base branch from master to upd/gulp-minify-js August 16, 2023 13:05
@duracelltomi duracelltomi merged commit 6d8ecec into duracelltomi:upd/gulp-minify-js Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minification of frontend JS ressources
2 participants