vin's avatar
Level 6

change webpack.mix.js to something else

Is there a way to run npm run dev/prod but load a different webpack.mix file?

npm run dev <-- will load webpack.mix.js

npm run dev someotherfile.mix.js will load someotherfile.mix.js

Thank You.

0 likes
1 reply
ejdelmonico's avatar

To do what you want, you are probably going to have to use a standard Webpack work flow. Otherwise, you have to continually modify the Mix code.

Please or to participate in this conversation.