Shopify / sprockets-commoner

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

How to only process .es6.js files? #52

Closed mengqing closed 7 years ago

mengqing commented 7 years ago

We need our app to only process .es6.js files. What configurations do we need? Thanks

bouk commented 7 years ago

You can't select certain extensions to process (it processes whatever Sprockets thinks is JS) but you can select subdirectories, see "Fine-tuned selection of files to process" in the readme