Skip to content

Commit

Permalink
fix: match vue 3 target ecmascript version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewcourtice committed Sep 19, 2021
1 parent 31b64af commit b7166a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ module.exports = {
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/ban-types': 'warn',
'@typescript-eslint/no-empty-function': 'warn',
},
};
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"strict": true,
"target": "esnext",
"target": "es2016",
"module": "esnext",
"moduleResolution": "node",
"esModuleInterop": true,
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
dts: true,
sourcemap: true,
legacyOutput: true,
target: 'es2020',
target: 'es2016',
format: [
'esm',
'cjs',
Expand Down

1 comment on commit b7166a5

@vercel
Copy link

@vercel vercel bot commented on b7166a5 Sep 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.