添加上传图片
This commit is contained in:
@@ -15,7 +15,7 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
output: {
|
||||
polyfill: "usage"
|
||||
polyfill: "usage",
|
||||
},
|
||||
tools: {
|
||||
rspack: {
|
||||
@@ -26,6 +26,14 @@ export default defineConfig({
|
||||
],
|
||||
},
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
"/media": {
|
||||
target: process.env.WEB_URL,
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
performance: {
|
||||
chunkSplit: {
|
||||
strategy: "split-by-experience",
|
||||
|
||||
Reference in New Issue
Block a user