添加外网测试地址,上传图片测试
parent
54994dabe9
commit
ad12b25a88
@ -1,18 +1,21 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import legacy from '@vitejs/plugin-legacy'
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import legacy from "@vitejs/plugin-legacy";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
legacy({
|
||||
targets: ['defaults', 'not IE 11'],
|
||||
})
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': '/src',
|
||||
}
|
||||
}
|
||||
})
|
||||
plugins: [
|
||||
react(),
|
||||
legacy({
|
||||
targets: ["defaults", "not IE 11"],
|
||||
}),
|
||||
],
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": "/src",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue