Skip to content

Commit

Permalink
Include only entrypoints for respective tsconfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
qhanam authored and maniator committed May 6, 2022
1 parent e9303df commit ddf4c21
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
1 change: 1 addition & 0 deletions tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"module": "commonjs",
"outDir": "./dist/cjs"
},
"include": ["src/index.ts"],
"extends": "./tsconfig"
}
1 change: 1 addition & 0 deletions tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"compilerOptions": {
"outDir": "./dist/es"
},
"include": ["src/index.ts"],
"extends": "./tsconfig"
}
11 changes: 1 addition & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,5 @@
"strict": false,
"target": "es5"
},
"include": ["src/"],
"exclude": [
"**/__tests__",
"**/__integ__",
"**/__mocks__",
"**/__smoke-test__",
"src/index-browser.ts",
"src/loader",
"src/test-utils"
]
"include": ["src/**/*"]
}
1 change: 1 addition & 0 deletions tsconfig.webpack.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"module": "es2020",
"outDir": "./dist/webpack"
},
"include": ["src/index-browser.ts"],
"extends": "./tsconfig"
}

0 comments on commit ddf4c21

Please sign in to comment.