Skip to content

Commit

Permalink
tsc: --skipLibCheck
Browse files Browse the repository at this point in the history
Fixes `error TS2792: Cannot find module 'undici-types'.`
  • Loading branch information
simon04 committed Dec 21, 2024
1 parent 9ba93ff commit 4edf909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"types": "dist/index.d.ts",
"scripts": {
"prepare": "npm run build",
"build": "vite build && tsc --target ES2020 --declaration --emitDeclarationOnly --outDir dist/ src/index.ts",
"build": "vite build && tsc --target ES2020 --declaration --emitDeclarationOnly --skipLibCheck --outDir dist/ src/index.ts",
"build:demo": "npm run build:demo-esbuild && npm run build:demo-rollup && npm run build:demo-webpack",
"build:demo-esbuild": "cd demo-esbuild && npm install && npm run build",
"build:demo-rollup": "cd demo-rollup && npm install && npm run build",
Expand Down

0 comments on commit 4edf909

Please sign in to comment.