update es version
This commit is contained in:
parent
e584b7f1cf
commit
9b595b93f8
@ -9,7 +9,7 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"declaration": false,
|
||||
"sourceMap": false,
|
||||
"target": "es2017",
|
||||
"target": "es2021",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"removeComments": false,
|
||||
|
@ -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: {
|
||||
|
@ -9,7 +9,7 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"declaration": false,
|
||||
"sourceMap": false,
|
||||
"target": "es2017",
|
||||
"target": "es2021",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"removeComments": false,
|
||||
|
Loading…
Reference in New Issue
Block a user