Sha256: 412c1c8b90a522849679728376f711644a5497e48e0c497c699b47abe3270aae

Contents?: true

Size: 712 Bytes

Versions: 9

Compression:

Stored size: 712 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/webpack` 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/webpack and bin/webpacker match the latest on
https://github.com/rails/webpacker/tree/master/lib/install/bin

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
react_on_rails-12.6.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.5.2 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.5.1 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.5.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.4.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.4.0.rc.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.3.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.2.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.1.0 docs/javascript/converting-from-custom-webpack-config-to-rails-webpacker-config.md