From 4ba7137c71f4387d48fc0a422efc4bf6e6b188eb Mon Sep 17 00:00:00 2001 From: Pugma Date: Tue, 31 Dec 2024 18:16:54 +0900 Subject: [PATCH] revert: build target --- tsconfig.json | 2 +- vite.config.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 961bb95..f799a1b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "esnext", + "target": "es2018", "module": "esnext", "strict": true, "noUncheckedIndexedAccess": true, diff --git a/vite.config.ts b/vite.config.ts index 2299619..300e71f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,9 +5,6 @@ import VuePlugin from '@vitejs/plugin-vue' const srcPath = path.resolve(__dirname, 'src').replace(/\\/g, '/') const config: UserConfig = { - build: { - target: ['esnext', 'edge89', 'firefox89', 'chrome89', 'safari15'] - }, resolve: { alias: { '/@': srcPath