Open ShrimpCryptid opened 2 months ago
Just wondering - does this mean we don't need both and can consolidate into just one webpack config file? (aka webpack.config.js) (Tangential idea: switch to vite)
I think we do still need the webpack.dev.js
config to enable route management when running the local dev server? But I think that's the only case where we'd need it.
@ switching to vite: hell yeah 😎
Actually yes, I think you're right. We can probably move that setting to the default webpack server, and it would just not do anything for all the built versions of w3cv.
Use Case
Currently, GH and S3 builds rely on
webpack.dev.js
(instead ofwebpack.common.js
). Switch them to usewebpack.common.js
instead to avoid unintended consequences if editing the dev server?Solution
Please describe your ideal solution
Alternatives
Please describe any alternatives you've considered, even if you've dismissed them