Replies: 1 comment
-
OK, I found the issue. In my package script I was passing a command line argument to the export default defineConfig({
// entry: entryPoints,
entry: ["src/**/*.{js,ts}"],
format: "esm",
bundle: false,
platform: "node",
target: "node18",
sourcemap: true,
dts: true,
clean: true,
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am creating a Node backend server project and I don't want all of my code bundled into one output file, however I can't get
tsup
to compile more than just the./src/index.ts
file no matter what I do. I havebundle: false
in mytsup.config.ts
file as you can see in the following screenshot:I got this working with plain
esbuild
by usingtiny-glob
to produce theentryPoints
for theesbuild
config but that's not working here...Beta Was this translation helpful? Give feedback.
All reactions