1

What does it mean if you set two environment variables in Webpack? For example dev and build variables here.

package.json

"scripts": {
    "build": "webpack --env dev && webpack --env build && npm run test",
    ...
}
0

It means that you want to process files in "two modes". At first, webpack processes files in dev mode and after that in build mode.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.