From fb589e6f9bc7db56a508f8f610ce321377bf0a6f Mon Sep 17 00:00:00 2001 From: Nguyen You Date: Tue, 2 Jun 2020 02:46:10 +0700 Subject: [PATCH] chore: improve note about DefinePlugin (#11425) --- dist/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dist/README.md b/dist/README.md index 8e3f14ed..19386ecf 100644 --- a/dist/README.md +++ b/dist/README.md @@ -90,9 +90,7 @@ module.exports = { plugins: [ // ... new webpack.DefinePlugin({ - 'process.env': { - NODE_ENV: JSON.stringify('production') - } + 'process.env.NODE_ENV': JSON.stringify('production') }) ] }