update es version

This commit is contained in:
syuilo 2022-12-28 09:17:33 +09:00
parent e584b7f1cf
commit 9b595b93f8
3 changed files with 2 additions and 4 deletions

View file

@ -9,7 +9,7 @@
"noFallthroughCasesInSwitch": true,
"declaration": false,
"sourceMap": false,
"target": "es2017",
"target": "es2021",
"module": "esnext",
"moduleResolution": "node",
"removeComments": false,

View file

@ -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: {

View file

@ -9,7 +9,7 @@
"noFallthroughCasesInSwitch": true,
"declaration": false,
"sourceMap": false,
"target": "es2017",
"target": "es2021",
"module": "esnext",
"moduleResolution": "node",
"removeComments": false,