Skip to content

Commit

Permalink
build: use esnext as target in tsconfig, tsup overrides it
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdyman committed Apr 23, 2022
1 parent e9a8b36 commit f07d73d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"packageManager": "[email protected]",
"module": "dist/index.mjs",
"typings": "dist/index.d.ts",
"files": ["dist", "src"],
"files": [
"dist",
"src"
],
"scripts": {
"bootstrap": "corepack disable && corepack enable && pnpm i --frozen-lockfile",
"dx": "npm run bootstrap && pnpm exec husky install",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "es2021"
"target": "esnext"
},
"exclude": ["node_modules", "**/__tests__/*"]
}

0 comments on commit f07d73d

Please sign in to comment.