Webpacker v3.3.0 Release Notes

Release Date: 2018-03-03 // about 6 years ago
  • โž• Added

    • โšก๏ธ Separate task for installing/updating binstubs
    • ๐Ÿš… CSS modules support #1248
    • Pass relative_url_root to webpacker config #1236

    ๐Ÿ’ฅ Breaking changes

    • ๐Ÿ›  Fixes #1281 by installing binstubs only as local executables. To upgrade:
    bundle exec rails webpacker:binstubs
    
    • ๐Ÿšš set function is now removed from plugins and loaders, please use append or prepend
    // config/webpack/environment.js
    const { environment } = require('@rails/webpacker')
    
    environment.loaders.append('json', {
      test: /\.json$/,
      use: 'json-loader'
    })
    

    ๐Ÿ›  Fixed

    • ๐Ÿš… Limit ts-loader to 3.5.0 until webpack 4 support #1308
    • ๐Ÿš… Custom env support #1304