ZStrgar's avatar
Level 10

Mix asset managment

Hello guys!

I'm not an expert in Laravel Mix. Just know the basics so yeah :)

This is my problem: I'm using Laravel Mix in none Laravel project and I want the result of npm run dev call be 2 CSS files. One is uncompressed and unminified, second one is minified. So basically first one is ran in NODE_ENV=development and second one in NODE_ENV=production. Is that even possible?

Do I need to change the scripts in package.json or in webpack.mix.js? And of course how since I have no idea :)

0 likes
0 replies

Please or to participate in this conversation.