Skip to content

Commit

Permalink
esm
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Apr 12, 2024
1 parent 353040b commit 6c2f299
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
6 changes: 2 additions & 4 deletions boilerplates/lerna-module/tsconfig.esm.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"extends": "../../tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "dist/esm",
"module": "es2022",
"rootDir": "src/",
"declaration": false
},
"include": ["**/*.ts"],
"exclude": ["dist", "node_modules", "**/*.spec.*", "**/*.test.*"]
}
}
2 changes: 1 addition & 1 deletion boilerplates/lerna-module/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"outDir": "dist",
"rootDir": "src/"
},
"include": ["**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["dist", "node_modules", "**/*.spec.*", "**/*.test.*"]
}
11 changes: 4 additions & 7 deletions boilerplates/lerna-tsx-module/tsconfig.esm.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"extends": "../../tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "dist/esm",
"module": "es2022",
"rootDir": "src/",
"declaration": false,
"jsx": "react"
},
"include": ["**/*.ts"],
"exclude": ["dist", "node_modules", "**/*.spec.*", "**/*.test.*"]
}
"declaration": false
}
}
2 changes: 1 addition & 1 deletion boilerplates/lerna-tsx-module/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"rootDir": "src/",
"jsx": "react"
},
"include": ["**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["dist", "node_modules", "**/*.spec.*", "**/*.test.*"]
}
1 change: 0 additions & 1 deletion boilerplates/lerna-workspace/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
"resolveJsonModule": true,
"moduleResolution": "node"
},
"include": ["src/**/*"],
"exclude": ["dist", "node_modules"]
}

0 comments on commit 6c2f299

Please sign in to comment.