fix: live server runtime errors (#7314)

* fix: live tsconfig and tsup config

* fix: lock file updates

* feat: adding build process to constants and types packages

* chore: coderabbit suggestions
This commit is contained in:
sriram veeraghanta 2025-07-02 18:20:18 +05:30 committed by GitHub
parent 5874636b0b
commit 7153064ebb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 282 additions and 783 deletions

View file

@ -1,20 +1,15 @@
import { defineConfig, Options } from "tsup";
import { defineConfig } from "tsup";
export default defineConfig((options: Options) => ({
export default defineConfig({
entry: ["src/server.ts"],
format: ["esm"],
dts: false,
clean: true,
target: "node18",
sourcemap: true,
format: ["esm", "cjs"],
dts: true,
splitting: false,
bundle: true,
sourcemap: true,
minify: false,
target: "node18",
outDir: "dist",
esbuildOptions(options) {
options.alias = {
"@/core": "./src/core",
"@/plane-live": "./src/ce"
};
env: {
NODE_ENV: process.env.NODE_ENV || "development",
},
...options,
}));
});