Looking at some tutorials I’ve seen many people recommending adding the following code to your config/webpack/environment.js:
config/webpack/environment.js
#config/webpack/environment.jsconst webpack =…
Just installed Rails 6 and created a new app to test out Webpack.
Nothing fancy, just a simple controller with an empty view, and a Procfile that…