mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 20:27:43 +00:00
Try to fix tsup as well
This commit is contained in:
@@ -45,7 +45,11 @@ export default defineConfig({
|
|||||||
const isRelativePath = args.path.startsWith(".");
|
const isRelativePath = args.path.startsWith(".");
|
||||||
const absPath = isRelativePath
|
const absPath = isRelativePath
|
||||||
? path.join(args.resolveDir, args.path)
|
? path.join(args.resolveDir, args.path)
|
||||||
: path.join(args.path.replace("@app", "./src"));
|
: path.join(
|
||||||
|
args.path
|
||||||
|
.replace("@app", "./src")
|
||||||
|
.replace("@bdd_routes/bdd-nock-router", "./src/server/routes/bdd/bdd-nock-router.ts")
|
||||||
|
);
|
||||||
|
|
||||||
const isFile = await fs
|
const isFile = await fs
|
||||||
.stat(`${absPath}.ts`)
|
.stat(`${absPath}.ts`)
|
||||||
|
|||||||
Reference in New Issue
Block a user