Commit bffa6379 authored by yaphet's avatar yaphet Committed by 陈帅

Fix bug (#3749)

将./src/defaultSettings.js中pwa设置false时,‘umi-plugin-react’中pwa配置项的值应该是false;使用空对象{}依旧会开启 PWA 相关功能。
parent ac993ae1
...@@ -33,7 +33,7 @@ const plugins = [ ...@@ -33,7 +33,7 @@ const plugins = [
importWorkboxFrom: 'local', importWorkboxFrom: 'local',
}, },
} }
: {}, : false,
...(!TEST && os.platform() === 'darwin' ...(!TEST && os.platform() === 'darwin'
? { ? {
dll: { dll: {
......
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