fix(runtime): закрыть fix2 P0 runtime pass без legacy
This commit is contained in:
@@ -21,12 +21,10 @@ const pathSrc = path.resolve(__dirname, "src");
|
||||
const INVALID_CHAR_REGEX = /[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g;
|
||||
const DRIVE_LETTER_REGEX = /^[a-z]:/i;
|
||||
|
||||
import { dynamicBase } from "vite-plugin-dynamic-base";
|
||||
|
||||
export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||
const env = loadEnv(mode, process.cwd());
|
||||
return {
|
||||
base: mode === "production" ? "/__dynamic_base__/" : "/",
|
||||
base: "/",
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": pathSrc,
|
||||
@@ -57,7 +55,6 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
dynamicBase({}),
|
||||
vue(),
|
||||
UnoCSS({
|
||||
/* options */
|
||||
|
||||
Reference in New Issue
Block a user