Skip to content

Commit

Permalink
feat: importHelpers for esm
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed May 19, 2024
1 parent d3069c8 commit 89f0b4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"target": "ES2022",
"module": "CommonJS",
"moduleResolution": "Node",
"outDir": "cjs",
"importHelpers": true
"outDir": "cjs"
},
"files": ["ts-json-schema-generator.ts", "index.ts"],
"include": ["src/**/*.ts", "factory/**/*.ts"],
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"pretty": true,
"typeRoots": ["node_modules/@types"],
"outDir": "dist",
"incremental": true
"incremental": true,
"importHelpers": true
},
"files": ["ts-json-schema-generator.ts", "index.ts"],
"include": ["src/**/*.ts", "factory/**/*.ts"],
Expand Down

0 comments on commit 89f0b4a

Please sign in to comment.