Browse Source

comment hardsource

pull/3537/head
愚道 7 years ago
committed by Yu
parent
commit
5ea5e904c0
  1. 18
      config/config.js

18
config/config.js

@ -27,15 +27,15 @@ const plugins = [
importWorkboxFrom: 'local',
},
},
...(!process.env.TEST && os.platform() === 'darwin'
? {
dll: {
include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],
exclude: ['@babel/runtime'],
},
hardSource: false,
}
: {}),
// ...(!process.env.TEST && os.platform() === 'darwin'
// ? {
// dll: {
// include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],
// exclude: ['@babel/runtime'],
// },
// hardSource: true,
// }
// : {}),
},
],
];

Loading…
Cancel
Save