Skip to content

Commit 0626fbf

Browse files
chore(rsbuild-plugin): restore manual externals
1 parent 69a9aa3 commit 0626fbf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/rsbuild-plugin/rslib.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export default defineConfig({
66
format: 'esm',
77
syntax: 'es2021',
88
bundle: true,
9-
autoExternal: true,
109
dts: {
1110
distPath: './dist',
1211
},
@@ -15,7 +14,6 @@ export default defineConfig({
1514
format: 'cjs',
1615
syntax: 'es2021',
1716
bundle: true,
18-
autoExternal: true,
1917
dts: false,
2018
},
2119
],
@@ -32,6 +30,7 @@ export default defineConfig({
3230
distPath: {
3331
root: './dist',
3432
},
33+
externals: [/@module-federation\//, 'pnpapi'],
3534
copy: [
3635
{
3736
from: './LICENSE',

0 commit comments

Comments
 (0)