Sha256: 0207070dc035fef197b45252126f51cd9a9adba0da8c7a6114f3a6f793347a96

Contents?: true

Size: 722 Bytes

Versions: 6

Compression:

Stored size: 722 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#L14-L48
  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

6 entries across 6 versions & 1 rubygems

Version Path
react_on_rails-12.0.5.beta.0 docs/additional-reading/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.0.4 docs/additional-reading/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.0.3 docs/additional-reading/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.0.3.beta.0 docs/additional-reading/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.0.2 docs/additional-reading/converting-from-custom-webpack-config-to-rails-webpacker-config.md
react_on_rails-12.0.1 docs/additional-reading/converting-from-custom-webpack-config-to-rails-webpacker-config.md