mirror of
https://github.com/quartz-community/remove-draft.git
synced 2026-07-22 02:50:30 +00:00
chore: set tsup platform to node
Plugins run server-side during the Quartz build step, not in the browser. Setting platform: 'node' tells esbuild to treat Node builtins as available externals and avoids CJS-in-ESM require() failures for any bundled dependencies that use Node APIs.
This commit is contained in:
parent
df67470d87
commit
c90abb32b6
1 changed files with 1 additions and 0 deletions
|
|
@ -12,4 +12,5 @@ export default defineConfig({
|
|||
target: "es2022",
|
||||
splitting: false,
|
||||
outDir: "dist",
|
||||
platform: "node",
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue