diff --git a/packages/frontend/tsconfig.json b/packages/frontend/tsconfig.json index 86109f600a..54e5219b56 100644 --- a/packages/frontend/tsconfig.json +++ b/packages/frontend/tsconfig.json @@ -9,7 +9,7 @@ "noFallthroughCasesInSwitch": true, "declaration": false, "sourceMap": false, - "target": "es2017", + "target": "es2021", "module": "esnext", "moduleResolution": "node", "removeComments": false, diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 1acf5301b7..80f50b6cfb 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -8,7 +8,6 @@ import pluginJson5 from './vite.json5'; const extensions = ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.json', '.json5', '.svg', '.sass', '.scss', '.css', '.vue']; export default defineConfig(({ command, mode }) => { - return { base: '/vite/', @@ -46,7 +45,6 @@ export default defineConfig(({ command, mode }) => { 'chrome100', 'firefox100', 'safari15', - 'es2017', // TODO: そのうち消す ], manifest: 'manifest.json', rollupOptions: { diff --git a/packages/sw/tsconfig.json b/packages/sw/tsconfig.json index c3a845f12a..750aeff969 100644 --- a/packages/sw/tsconfig.json +++ b/packages/sw/tsconfig.json @@ -9,7 +9,7 @@ "noFallthroughCasesInSwitch": true, "declaration": false, "sourceMap": false, - "target": "es2017", + "target": "es2021", "module": "esnext", "moduleResolution": "node", "removeComments": false,