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

Code minification #28

Open
mdantonio opened this issue May 30, 2016 · 4 comments
Open

Code minification #28

mdantonio opened this issue May 30, 2016 · 4 comments

Comments

@mdantonio
Copy link
Collaborator

I open this issue as reminder: in production we have to minify the code.

We still have to find a minifier working well with our UI stack (angular1/2/polymer/idunno).

Note: some files contain jinja templates (blueprint.js)

UglifyJS can be a starting point to study the issue

@pdonorio
Copy link
Owner

Yes, uglify is the right way to go. And blueprint.js should be compiled statically for each blueprint.

The main idea is to create a vanilla/dist folder which will contain a minification for each blueprint. How does that sound?

@pdonorio
Copy link
Owner

Also i think this could be another task were @gianpierobozza could give us some effort, if he likes it 😄

@pdonorio
Copy link
Owner

pdonorio commented Aug 1, 2016

Reading all of this about angulajs2 and gulp gave me a lot of perspective https://www.typescriptlang.org/docs/handbook/gulp.html

@mdantonio
Copy link
Collaborator Author

Waiting for the removal of flask frontend

mdantonio/rapydo#9

Then we will be able to minify everything

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

No branches or pull requests

2 participants