feat: update build and dev scripts to use tsdown; add tsdown config file
- Changed build script in packages/logic/package.json to use tsdown instead of tsc. - Updated dev script in packages/logic/package.json to use tsdown with watch mode. - Added tsdown as a devDependency in packages/logic/package.json. - Updated pnpm-lock.yaml to include tsdown and its dependencies across various apps. - Created a new tsdown.config.ts file to define build configuration for the workspace.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { defineConfig } from "tsdown";
|
||||
|
||||
export default defineConfig({
|
||||
workspace: {
|
||||
include: ["packages/*", "app/*"],
|
||||
exclude: ["**/*-frontend/**"]
|
||||
},
|
||||
entry: "src/index.ts",
|
||||
format: "es",
|
||||
outDir: "dist",
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
target: "node22",
|
||||
platform: "node",
|
||||
fixedExtension: false,
|
||||
hash: false
|
||||
});
|
||||
Reference in New Issue
Block a user