Skip to content

Commit

Permalink
add: components to ts-config explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
gmguarino committed Apr 18, 2024
1 parent 1468d81 commit 1884a80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ COPY yarn.lock /usr/src/app

RUN yarn install --production --frozen-lockfile

COPY . /usr/src/app
COPY ./public ./public
COPY ./src ./src
COPY ./tsconfig.json ./tsconfig.json
# COPY . /usr/src/app/

RUN yarn build

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"~/*": ["./public/*"]
"~/*": ["./public/*"],
"@/components/*": ["./src/components/*"]
},
"incremental": true,
"plugins": [
Expand Down

0 comments on commit 1884a80

Please sign in to comment.