-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(tsconfig): include only src when building the project (#823)
* build: include only src when building the project * exclude spec files * fix build after dist folder structure change --------- Co-authored-by: Jay Quan <[email protected]>
- Loading branch information
1 parent
c687c0f
commit 56a9df2
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,4 +50,4 @@ COPY ./package.json ./package.json | |
|
||
EXPOSE 3000 | ||
|
||
CMD ["node", "dist/src/main"] | ||
CMD ["node", "dist/main"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,4 @@ COPY ./package.json ./package.json | |
|
||
EXPOSE 3000 | ||
|
||
CMD ["node", "dist/src/main"] | ||
CMD ["node", "dist/main"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"] | ||
"include": ["src"], | ||
"exclude": ["**/*spec.ts"] | ||
} |