feat: 修复打包问题
This commit is contained in:
@@ -18,7 +18,7 @@ import autoprefixer from "autoprefixer";
|
|||||||
export default defineConfig(({ mode }) => {
|
export default defineConfig(({ mode }) => {
|
||||||
const env = loadEnv(mode, process.cwd());
|
const env = loadEnv(mode, process.cwd());
|
||||||
return {
|
return {
|
||||||
base: "/",
|
base: "./",
|
||||||
plugins: [
|
plugins: [
|
||||||
react(),
|
react(),
|
||||||
legacy({
|
legacy({
|
||||||
|
Reference in New Issue
Block a user