Browse Source

Mode flag

jsbundling-with-webpack-modernizr
baarkerlounger 3 years ago
parent
commit
145f61ff65
  1. 4
      README.md

4
README.md

@ -46,10 +46,10 @@ Pre-requisites:
`bundle exec rails s`
b. JS (for hot reloading):\
`yarn build mode=development --watch`
`yarn build --mode=development --watch`
If you're not modifying front end assets you can bundle them as a one off task:\
`yarn build mode=development`
`yarn build --mode=development`
Development mode will target the latest versions of Chrome, Firefox and Safari for transpilation while
production mode will target older browsers.

Loading…
Cancel
Save