Commit 4db2f03b by haojie

1

parent 647eddc6
...@@ -70,20 +70,12 @@ export default defineConfig(({ mode }) => { ...@@ -70,20 +70,12 @@ export default defineConfig(({ mode }) => {
/** /**
* 整个项目打包 * 整个项目打包
*/ */
// output: { output: {
// manualChunks: { manualChunks: {
// // 拆分代码,这个就是分包,配置完后自动按需加载 // 拆分代码,这个就是分包,配置完后自动按需加载
// vue: ['vue', 'vue-router', 'vuex'], vue: ['vue', 'vue-router', 'vuex'],
// }, },
// }, },
/**
* 模块打包
*/
// 这里就是修改入口文件位置
// input: '/src/pages/CopywritingGeneration/index.html',
// output: {
// manualChunks: undefined,
// },
}, },
}, },
esbuild: false, esbuild: false,
......
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