From 0c6ea8eb5cf93d9de6e104f659ff5719643aec70 Mon Sep 17 00:00:00 2001 From: Baorong Li Date: Tue, 8 Jan 2019 22:56:23 +0800 Subject: [PATCH] fix cannot read property 'hash' of undefined by turn off hardSource --- .umirc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.umirc.js b/.umirc.js index 879e7c1..3f32287 100644 --- a/.umirc.js +++ b/.umirc.js @@ -57,7 +57,7 @@ export default { dll: { include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch', 'antd/es'], }, - hardSource: /* isMac */ process.platform === 'darwin', + // hardSource: /* isMac */ process.platform === 'darwin', pwa: { manifestOptions: { srcPath: 'manifest.json'