fix: circular dependencies between packages (#7277)
This commit is contained in:
parent
d3f1b511ad
commit
fa9c63716c
336 changed files with 3629 additions and 4374 deletions
|
|
@ -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,
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue