1.解决多个接口报错,出现多个提示的问题
parent
316bbfe452
commit
4683a8eadc
|
|
@ -113,11 +113,11 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
// 自定义 chunk 文件的输出路径和文件名格式
|
// 自定义 chunk 文件的输出路径和文件名格式
|
||||||
chunkFileNames: 'diy/js/chunk/[name]-[hash].js',
|
chunkFileNames: 'static/admin/default/diy/js/chunk/[name]-[hash].js',
|
||||||
// 自定义 entry chunk 的输出路径和文件名格式
|
// 自定义 entry chunk 的输出路径和文件名格式
|
||||||
entryFileNames: 'diy/js/entry/[name]-[hash].js',
|
entryFileNames: 'static/admin/default/diy/js/entry/[name]-[hash].js',
|
||||||
//非js文件夹,按照文件类型分类css,png,jpg
|
//非js文件夹,按照文件类型分类css,png,jpg
|
||||||
assetFileNames: 'diy/[ext]/[name]-[hash].[ext]',
|
assetFileNames: 'static/admin/default/diy/[ext]/[name]-[hash].[ext]',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue