Gaetan Craig-Riou
26b8f62325
Fix wepack config, move to generateWebpackConfig
2026-01-23 16:23:14 +01:00
Gaetan Craig-Riou
bb0c1e7a0f
Quiet sass deprecations warning for dependencies
...
We are not planning to upgrade foundation-sites
2026-01-06 14:31:44 +11:00
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
b3dc76b8cf
Fix configuration and scss to get webpack to compile
...
Move the Postcss config hack to postcss.config.js
2026-01-06 14:31:32 +11:00
Gaetan Craig-Riou
c2a7a89381
Move extensions configuration to webpack.config.js
2026-01-06 14:31:32 +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
6bf21d2abd
SASS loader: Do not print warnings from dependencies
2023-04-14 11:09:39 +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
09b9c3d4d0
Fix postcss-loader config
...
The configuration keys have some issues across different versions of postcss
2021-12-27 17:45:06 +00: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