This is pretty easy with webpack, and it is just a matter of using DefinePlugin in the following way: new webpack.DefinePlugin({ 'process.env': { NODE_ENV: ...
確定! 回上一頁