Webpacker v1.2 Release Notes
Release Date: 2017-04-27 // about 7 years ago-
Some of the changes made requires you to run below commands to install new changes.
bundle update webpacker bundle exec rails webpacker:install
๐ Fixed
- ๐ Support Spring - #205
Spring.after_fork { Webpacker.bootstrap } if defined?(Spring)
๐ Check node version and yarn before installing webpacker - #217
๐ Include webpacker helper to views - #172
๐ Webpacker installer on windows - #245
๐ Yarn duplication - #278
โ Add back Spring for
rails-erb-loader
- #216๐ Move babel presets and plugins to .babelrc - #202
โ Added
For example:
app/javascript/packs/admin/hello_vue.js app/javascript/packs/admin/hello.vue app/javascript/packs/hello_vue.js app/javascript/packs/hello.vue
- โ Add tree-shaking support - #250
- โ Add initial test case by @kimquy #259
- ๐ฑ Compile assets before test:controllers and test:system
โ Removed
- ๐ Webpack watcher - #295