Skip to content

Commit

Permalink
fix(build): set correct build path
Browse files Browse the repository at this point in the history
  • Loading branch information
leon19 committed Mar 28, 2024
1 parent adf76f8 commit 690d0d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"rootDir": "src/generators",
"outDir": "generators",
"noEmit": false,
"types": ["node"]
},
"include": ["src"],
"exclude": ["src/**/*.test.ts", "src/**/*.spec.ts"]
"exclude": ["generators"]
}
8 changes: 5 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */

Expand All @@ -21,7 +22,7 @@
// "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
// "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
"useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */

/* Modules */
Expand Down Expand Up @@ -111,11 +112,12 @@
]
},
"include": [
"src"
"src",
"tests"
],
"exclude": [
"node_modules",
"dist"
"generators"
],
"ts-node": {
"transpileOnly": true
Expand Down

0 comments on commit 690d0d2

Please sign in to comment.