Skip to content

Commit bd1eff8

Browse files
authored
chore: update externals in Rslib config for postcss-load-config (#5822)
1 parent bee1327 commit bd1eff8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/rslib.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ const externals: Rspack.Configuration['externals'] = [
3434
'@rsbuild/core',
3535
'@rsbuild/core/client/hmr',
3636
'@rsbuild/core/client/overlay',
37-
// yaml is an optional dependency of `postcss-load-config`
37+
// yaml and tsx are optional dependencies of `postcss-load-config`
3838
'yaml',
39+
'tsx/cjs/api',
3940
// externalize pre-bundled dependencies
4041
({ request }, callback) => {
4142
const entries = Object.entries(regexpMap);

0 commit comments

Comments
 (0)