Shopify / sprockets-commoner

Use Babel in Sprockets to compile JavaScript modules for the browser
MIT License
182 stars 22 forks source link

Improve dx #7

Closed bouk closed 8 years ago

bouk commented 8 years ago

@lemonmade this adds some improvements so the setup is now just:

  1. Add sprockets-commoner to Gemfile
  2. Add package.json with babel-core and any needed packages
  3. Use require() in application.js

Easy peasy! I'll write a better README next week

lemonmade commented 8 years ago

Minor things, the improvements to the setup experience are awesome 👍