We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何在pluginsj加入如下代码,并且项目中生效
new webpack.DefinePlugin({ __WEBPACK_SERVER__: true }),
The text was updated successfully, but these errors were encountered:
`
module.exports = function(webpackConfig, env) { if (env === 'development') { webpackConfig.plugins.push( new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify(env) } }) ); } }
函数中的env是dora注入的吗?可选择的值都有哪些?
Sorry, something went wrong.
No branches or pull requests
如何在pluginsj加入如下代码,并且项目中生效
The text was updated successfully, but these errors were encountered: