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

Minification and css watch #36

Merged
merged 4 commits into from
Oct 22, 2016

Conversation

craigdallimore
Copy link
Contributor

@craigdallimore craigdallimore commented Oct 21, 2016

In this PR

  • A minify command (npm run minify) is added to reduce JavaScript size. This is presently using the default settings of uglify-js. bundle.js is reduced from ~2.9M to ~1.6M. (Pre gzip figures) bundle.css is already minified in its normal build step. Closes Add minification to build step #30?
  • The npm run commands have been modified to provide additional features:
    • npm run build-js will build JS (unminified) with sourcemaps provided thanks to exorcist 😱
    • npm run watch-js - as per build-js while watching JS files for changes.
    • npm run build-css will build CSS.
    • npm run watch-css - as per build-css but watching for CSS file changes.
    • npm run watch combines both watch-* commands.
  • README.md has been updated to reflect these changes.

@buzzdecafe buzzdecafe merged commit 45acc7c into ramda:master Oct 22, 2016
@buzzdecafe
Copy link
Member

🐄

@craigdallimore craigdallimore deleted the minification-and-css-watch branch October 30, 2016 14:09
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.

2 participants