Closed shahidhsalarzai closed 1 year ago
"frontend-production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js --env.mixfile=webpack.frontend.mix.js", "backend-production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js --env.mixfile=webpack.backend.mix.js"
I change packege.json because front end and back end fruduction has not updated... "frontend-production": "mix --mix-config=webpack.frontend.mix.js --production", "backend-production": "mix --mix-config=webpack.backend.mix.js --production"
If user of the application not install web-pack globally with npm install -g then this configure will not work!
npm install -g
"frontend-production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js --env.mixfile=webpack.frontend.mix.js", "backend-production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js --env.mixfile=webpack.backend.mix.js"
I change packege.json because front end and back end fruduction has not updated... "frontend-production": "mix --mix-config=webpack.frontend.mix.js --production", "backend-production": "mix --mix-config=webpack.backend.mix.js --production"