Gaetan Craig-Riou
8ce14a55c8
Fix dependencies version, and update config
...
Trying to stay as close as possible to the default config
2026-01-06 14:31:43 +11:00
Gaetan Craig-Riou
fccde70690
Upgrading to webpacker v6.0.0.rc.6
...
Migration guide : https://github.com/shakacode/shakapacker/blob/main/docs/v6_upgrade.md#how-to-upgrade-to-webpacker-v600rc6-from-v5
Setp 1,2,3,4
2026-01-06 14:31:25 +11:00
Jean-Baptiste Bellet
2d7356f2bb
Use the default webpack configuration for dev env
...
We used to override the output filename but this was a misunderstanding of an error (due to webpacke(r) incompatibles versions)
https://medium.com/@web_developer/hash-vs-chunkhash-vs-contenthash-e94d38a32208
https://github.com/webpack/webpack.js.org/issues/2096
Context: https://github.com/openfoodfoundation/openfoodnetwork/pull/10631#pullrequestreview-1410083331
2023-05-03 10:10:17 +02:00
Jean-Baptiste Bellet
bfbcdba98c
Modify configuration to match new version of webpacker
...
Error was:
```
ERROR in chunk admin [entry]
js/[name]-[contenthash].js
Cannot use [chunkhash] or [contenthash] for chunk in 'js/[name]-[contenthash].js' (use [hash] instead)
```
2023-03-20 11:34:57 +01:00
Matt-Yorkley
a074f627b2
Add Webpacker
...
Most of this is automatically generated by the rake task: `bundle exec rake webpacker:install`
Docs: https://github.com/rails/webpacker/tree/5-x-stable
2021-06-19 17:51:18 +01:00