Skip to content

Commit ec0d163

Browse files
committed
build: fix rollup external regexs
1 parent d456ec7 commit ec0d163

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

packages/docsearch-js/rollup.dts.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ const externalsForTypes = [
77
/^react-dom(\/|$)/,
88
/^@types\/react(\/|$)/,
99
/^@ai-sdk\/react(\/|$)/,
10+
/^typesense(\/|$)/,
11+
/^algoliasearch(\/|$)/,
12+
/^@algolia\//,
13+
/^search-insights$/,
14+
/^loglevel$/,
15+
/^(fs|http|https)$/,
1016
];
1117

1218
export default [

packages/docsearch-sidepanel-js/rollup.dts.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ const externalsForTypes = [
77
/^react-dom(\/|$)/,
88
/^@types\/react(\/|$)/,
99
/^@ai-sdk\/react(\/|$)/,
10+
/^typesense(\/|$)/,
11+
/^algoliasearch(\/|$)/,
12+
/^@algolia\//,
13+
/^search-insights$/,
14+
/^loglevel$/,
15+
/^(fs|http|https)$/,
1016
];
1117

1218
export default [

0 commit comments

Comments
 (0)