Sha256: 495d6ea49497bad34f3a10ab47b3844ff7a77be4d1649c7dbeb81d829a3cadca

Contents?: true

Size: 716 Bytes

Versions: 12

Compression:

Stored size: 716 Bytes

Contents

# Converting from Custom Webpack Config to Rails Webpacker Config

1. Compare your package.json and the dependencies in https://github.com/rails/webpacker/blob/master/package.json
  and avoid any duplicates. We don't want different versions of the same packages.
  We want the versions from rails/webpacker unless we specifically want to override them.
2. Search the rails/webpacker repo for anything you're not sure about in terms of package names.
3. run `bin/webpacker` and make sure there are zero errors
4. update webpack plugins and loaders to current or close to current
5. Make sure that your bin/webpacker and bin/webpacker match the latest on
https://github.com/rails/webpacker/tree/master/lib/install/bin

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
react_on_rails-13.3.5 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.3.4 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.3.3 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.3.2 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.3.1 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.3.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.2.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.1.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.0.2 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.0.1 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.0.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-13.0.0.beta.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md