chore: tsconfig path
This commit is contained in:
parent
5d92336500
commit
9e418621e0
3 changed files with 6 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import { Router } from "express";
|
import { Router } from "express";
|
||||||
import { createProduct, getProducts } from "@repo/db/index.ts";
|
import { createProduct, getProducts } from "@repo/db/index";
|
||||||
|
|
||||||
const router = Router();
|
const router = Router();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { Router } from "express";
|
import { Router } from "express";
|
||||||
import { getUsers, createUser } from "@repo/db/index.ts";
|
import { getUsers, createUser } from "@repo/db/index";
|
||||||
import { randomUUID } from "crypto";
|
import { randomUUID } from "crypto";
|
||||||
|
|
||||||
const router = Router();
|
const router = Router();
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,10 @@
|
||||||
"extends": "@repo/typescript-config/base.json",
|
"extends": "@repo/typescript-config/base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": ["ES2015"],
|
"lib": ["ES2015"],
|
||||||
"outDir": "./dist"
|
"outDir": "./dist",
|
||||||
|
"paths": {
|
||||||
|
"@repo/db/*": ["../../packages/db/src/*"]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules"],
|
"exclude": ["node_modules"],
|
||||||
"include": ["."]
|
"include": ["."]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue