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

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 then

@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

Sign in to participate in the conversation
Mastodon (instance perso)

This is a small personal instance running on a couple small ARM servers at home.