Skip to content

Commit 00b6116

Browse files
committed
Bundle uuid in CJS builds
1 parent f95243f commit 00b6116

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/core-graph/tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default defineConfig([
1818
{
1919
...commonConfig,
2020
format: 'cjs',
21+
noExternal: ['uuid'],
2122
target: [...commonConfig.target, 'es2019']
2223
}
2324
]);

packages/core/tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export default defineConfig([
3131
'globalThis.WEB_CHAT_BUILD_INFO_MODULE_FORMAT': '"commonjs"'
3232
},
3333
format: 'cjs',
34+
noExternal: ['uuid'],
3435
target: [...commonConfig.target, 'es2019']
3536
}
3637
]);

0 commit comments

Comments
 (0)