Converting from Custom Webpack Config to Rails Shakapacker Config
Compare your package.json and the dependencies in https://github.com/shakacode/shakapacker/blob/master/package.json
and avoid any duplicates. We don't want different versions of the same packages.
We want the versions from shakacode/shakapacker unless we specifically want to override them.
Search the shakacode/shakapacker repo for anything you're not sure about in terms of package names.
Run bin/shakapacker and make sure there are zero errors
Update webpack plugins and loaders to current or close to current