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
Uh oh!
There was an error while loading. Please reload this page.
-
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
tsupto compile more than just the./src/index.tsfile no matter what I do. I havebundle: falsein mytsup.config.tsfile as you can see in the following screenshot:I got this working with plain
esbuildby usingtiny-globto produce theentryPointsfor theesbuildconfig but that's not working here...Beta Was this translation helpful? Give feedback.
All reactions