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 combineModules:min enabling minified output with uglify #3956

Merged
merged 5 commits into from
Aug 31, 2019
Merged

Add combineModules:min enabling minified output with uglify #3956

merged 5 commits into from
Aug 31, 2019

Conversation

coreygo
Copy link
Contributor

@coreygo coreygo commented Aug 19, 2019

Addresses: #3950

Feature enhancement details:

  • npm run grunt combineModules:min:core/shape:color:math:image uglify
    which outputs a 207K lib/modules/p5Custom.min.js

The full minified p5.min.js is 543K, p5.pre-min.js is 2.9M, and p5.js is 4M, while lib/modules/p5Custom.js is 2.5M.

The custom p5 build doc has also been updated.

Copy link
Contributor

@outofambit outofambit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks great! tried it out locally. thanks @coreygo !

@outofambit outofambit merged commit 045fae0 into processing:master Aug 31, 2019
@coreygo
Copy link
Contributor Author

coreygo commented Aug 31, 2019

My pleasure @outofambit. Closing #3950 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants