mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
Update TypeScript target and module to ES2022 in configuration files
Since we are already relying on ES2022 features like `Array.prototype.at`.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2020",
|
||||
"module": "es2020",
|
||||
"target": "es2022",
|
||||
"module": "es2022",
|
||||
"moduleResolution": "node",
|
||||
|
||||
"verbatimModuleSyntax": true,
|
||||
|
||||
@@ -8,7 +8,7 @@ export default defineConfig({
|
||||
clean: true,
|
||||
treeshake: true,
|
||||
minify: false,
|
||||
target: 'es2020',
|
||||
target: 'es2022',
|
||||
esbuildOptions(options) {
|
||||
options.external = [
|
||||
...options.external || [],
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"target": "es2020",
|
||||
"module": "es2020",
|
||||
"target": "es2022",
|
||||
"module": "es2022",
|
||||
"moduleResolution": "Bundler",
|
||||
|
||||
"verbatimModuleSyntax": true,
|
||||
|
||||
Reference in New Issue
Block a user