fix: circular dependencies between packages (#7277)

This commit is contained in:
sriram veeraghanta 2025-07-01 19:19:44 +05:30 committed by GitHub
parent d3f1b511ad
commit fa9c63716c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
336 changed files with 3629 additions and 4374 deletions

View file

@ -2,10 +2,19 @@ import { defineConfig, Options } from "tsup";
export default defineConfig((options: Options) => ({
entry: ["src/server.ts"],
format: ["cjs", "esm"],
dts: true,
clean: false,
external: ["react"],
injectStyle: true,
format: ["esm"],
dts: false,
clean: true,
target: "node18",
sourcemap: true,
splitting: false,
bundle: true,
outDir: "dist",
esbuildOptions(options) {
options.alias = {
"@/core": "./src/core",
"@/plane-live": "./src/ce"
};
},
...options,
}));