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

    • ๐Ÿš… A changelog - #211
    • ๐Ÿฑ Minimize CSS assets - #218
    • ๐Ÿš… Pack namespacing support - #201

    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