Skip to content

Commit

Permalink
chore: update tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Jul 29, 2023
1 parent 93c1146 commit 46a72e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"description": "TypeScript friendly pages path generator for Next.js and Nuxt.js",
"author": "Solufa",
"license": "MIT",
"types": "dist/cli.d.ts",
"bin": "bin/index.js",
"scripts": {
"dev": "npm run build && ts-node projects/build.ts",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "dist"
},
"include": ["src/**/*"]
Expand Down
6 changes: 2 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@
"declaration": true,
"declarationMap": true,
"downlevelIteration": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": ["dom", "ES2019.Array"],
"module": "commonjs",
"lib": ["dom", "es2020"],
"moduleResolution": "node",
"sourceMap": true,
"strict": true,
"strictPropertyInitialization": false,
"exactOptionalPropertyTypes": true,
"target": "es5"
"target": "es2020"
},
"exclude": ["projects/**/*"]
}

0 comments on commit 46a72e9

Please sign in to comment.