mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 19:33:10 +02:00
update es version
This commit is contained in:
parent
e584b7f1cf
commit
9b595b93f8
3 changed files with 2 additions and 4 deletions
|
@ -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 a new issue