midascodebreaker's avatar

How To Create a Custom command in webpack laravel mix

Hi Before Gulp and laravel elixir we can create a Custom gulp command

where we can run gulp {command}

But How can i do it in webpack or laravel mix

there is portion in the package.json

npm run {command}

but i wanted to do

webpack {command from webpack.mix.js}

Anyone have done this?

Thanks For Reply

0 likes
0 replies

Please or to participate in this conversation.