Skip to content

Commit

Permalink
#build-patch: build config
Browse files Browse the repository at this point in the history
  • Loading branch information
reskume committed Dec 4, 2024
1 parent bbd09f2 commit 4c13b7c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
Expand Down
14 changes: 8 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"compilerOptions": {
"lib": [
"esnext"
],
// "lib": [
// "esnext"
// ],
"declaration": true,
"declarationDir": "./dist/types",
"moduleResolution": "node",
"strict": true,
// "esModuleInterop": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"baseUrl": ".",
"rootDir": "./src"
"rootDir": "./src",
"outDir": "dist/esm",
"target": "ES2021"
},
"include": [
"src"
Expand Down

0 comments on commit 4c13b7c

Please sign in to comment.