Commit d16afd9d by 张立顺

先屏蔽一些逻辑

1 parent 35ab7491
...@@ -65,7 +65,7 @@ const cdn = { ...@@ -65,7 +65,7 @@ const cdn = {
module.exports = { module.exports = {
publicPath, // 根据你的实际情况更改这里 publicPath, // 根据你的实际情况更改这里
outputDir: 'copyDirTarget', // outputDir: 'copyDirTarget',
lintOnSave: false, lintOnSave: false,
devServer: { devServer: {
// publicPath, // 和 publicPath 保持一致 // publicPath, // 和 publicPath 保持一致
...@@ -130,11 +130,12 @@ module.exports = { ...@@ -130,11 +130,12 @@ module.exports = {
) )
if (isDev) { if (isDev) {
plugins.push( plugins
new SpeedMeasurePlugin(), .push
new CopyDir(), // 把dist 文件修改成有两份来兼容部署时请求目录不一样的情况 // new SpeedMeasurePlugin(),
new AsyncRomveDir() // new CopyDir(), // 把dist 文件修改成有两份来兼容部署时请求目录不一样的情况
) // new AsyncRomveDir()
()
} }
config.plugins = [...config.plugins, ...plugins] config.plugins = [...config.plugins, ...plugins]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!