Skip to content

Commit

Permalink
fix: tsconfig path fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhaticus committed Nov 6, 2024
1 parent ef8d058 commit 193e50e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You may also need to configure your `tsconfig.json` to target <= ES2022 and incl
```json
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": ["@tsmetadata/polyfill/tsconfig.json"],
"extends": ["@tsmetadata/polyfill/lib/tsconfig.polyfill.json"],
}
```

Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@
"publishConfig": {
"access": "public"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": "./lib/index.js",
"./tsconfig.json": "./lib/tsconfig.polyfill.json"
},
"scripts": {
"build": "npm run clean && tsc && cp ./src/*.json ./lib",
"clean": "rm -rf ./lib",
Expand Down

0 comments on commit 193e50e

Please sign in to comment.