node /home/circleci/projects/mastodon/node_modules/.bin/webpack --config /home/circleci/projects/mastodon/config/webpack/production.js
even though I'm supposedly running in the test
environment
hmmm
So yeah, it makes a lot of sense as to why test builds were so fucking slow lmao
Since it runs the production config, it calls the minimizer and other compression thingies even if that's not needed, and it also makes sense as to why I couldn't get that down by editing the test
config 🤔
Fixed in webpacker 4.2.0
Need to fix https://github.com/tootsuite/mastodon/pull/12416 then
@Thib jador lainformatik
@melunaka moi aussi
maintenant j'essaie de comprendre why the fuck webpack fait des trucs différents quand NODE_ENV=test et je trouve pas
oh ffs
https://github.com/rails/webpacker/pull/2341