We rebuild our assets with bundle exec rake assets:clean assets:precompile.
While it usually appropriately detects what has changed and what to rebuild, I just encountered that weird behavior:
But it turns out these js packs were the actual used packs, and they didn't get compiled appropriately...
I had to manually remove the public/packs directory to trigger a rebuild.
We rebuild our assets with
bundle exec rake assets:clean assets:precompile
. While it usually appropriately detects what has changed and what to rebuild, I just encountered that weird behavior:But it turns out these js packs were the actual used packs, and they didn't get compiled appropriately... I had to manually remove the
public/packs
directory to trigger a rebuild.