fix(api): bundle with tsup to resolve ESM shared module execution
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { defineConfig } from "tsup";
|
||||
|
||||
export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm"],
|
||||
clean: true,
|
||||
noExternal: ["@menulio/shared"],
|
||||
target: "node20",
|
||||
sourcemap: false,
|
||||
});
|
||||
Reference in New Issue
Block a user