Skip to content

Commit 687b0ba

Browse files
committed
fix: make sure optional dependencies are external in build
1 parent 1311ea4 commit 687b0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig } from "tsup";
33

44
const defaults: Options = {
55
dts: true,
6-
external: ["cheerio"],
6+
external: ["cheerio", "fast-xml-parser"],
77
format: ["cjs", "esm"],
88
minify: "terser",
99
outDir: "dist",

0 commit comments

Comments
 (0)