Skip to content

Commit ad6f50d

Browse files
committed
chore: set noExternal
1 parent 8fb947f commit ad6f50d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

packages/parser/tsup.config.ts

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
import { optionsCJS, optionsESM } from '@kubb/tsup-config'
1+
import { optionsCJS, optionsESM } from "@kubb/tsup-config";
22

3-
import { defineConfig } from 'tsup'
3+
import { defineConfig } from "tsup";
44

55
export default defineConfig([
66
{
77
...optionsCJS,
88
entry: {
9-
index: 'src/index.ts',
10-
factory: 'src/factory.ts',
9+
index: "src/index.ts",
10+
factory: "src/factory.ts",
1111
},
12+
noExternal: [/lodash.tonumber/],
1213
},
1314
{
1415
...optionsESM,
1516
entry: {
16-
index: 'src/index.ts',
17-
factory: 'src/factory.ts',
17+
index: "src/index.ts",
18+
factory: "src/factory.ts",
1819
},
20+
noExternal: [/lodash.tonumber/],
1921
},
20-
])
22+
]);

0 commit comments

Comments
 (0)