Commit 0e42e759 by wufan

feat:添加环境变量判断条件

parent 3fce8233
......@@ -161,7 +161,7 @@ module.exports = function(webpackEnv) {
// to bring better experience for Create React App users. You can replace
// the line below with these two lines if you prefer the stock client:
// require.resolve('webpack-dev-server/client') + '?/',
require.resolve('webpack/hot/dev-server'),
isEnvDevelopment && require.resolve('webpack/hot/dev-server'),
isEnvDevelopment &&
require.resolve('react-dev-utils/webpackHotDevClient'),
// Finally, this is your app's code:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment