Browse Source

Fix bug (#3749)

将./src/defaultSettings.js中pwa设置false时,‘umi-plugin-react’中pwa配置项的值应该是false;使用空对象{}依旧会开启 PWA 相关功能。
pull/3778/head
yaphet 7 years ago
committed by 陈帅
parent
commit
bffa637984
  1. 2
      config/config.js

2
config/config.js

@ -33,7 +33,7 @@ const plugins = [
importWorkboxFrom: 'local',
},
}
: {},
: false,
...(!TEST && os.platform() === 'darwin'
? {
dll: {

Loading…
Cancel
Save