A few questions about the upgrade guide #172
Replies: 2 comments
-
I moved this to #191. PR's welcome! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Corrected by #222 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm currently going through the upgrade guide (coming from Webpacker v5) and I have a few questions.
The upgrade guide talks about going from v5 to v6.0.0.rc.6 in multiple places, but the code snippet then actually uses
6.0.0.rc.13
. Which is the correct version to use? There's also a note saying "Check the gem page to verify the latest version", which is 6.5.0. I'm assuming this refers to the latest RC version? (Which would be6.0.0.rc.14
)Step 9 states that
config/webpack/environment.js
was changed toconfig/webpack/base.js
- however this file does not get created when runningbundle exec rails webpacker:install
. Is that on purpose? What about the environment specific files (development.js
,production.js
,test.js
), do we need to keep these?The snippet in Step 9 contains the following line:
const { webpackConfig, merge } = require('@rails/webpacker');
. The dependency in package.json is calledshakapacker
, so I'm assuming it should beconst { webpackConfig, merge } = require('shakapacker');
instead?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions