I am writing a small test app that exists only when tests are ran, otherwise not. Therefore I would like to have webpack perform asset copying when it is started.
In package.json
I have added
"scripts": {
"test_pack": "webpack --mode development"
},
and now I am not sure how to properly bundle npm run test_pack
to work when mix test
is invoked?