Skip to content

Commit 55474e3

Browse files
authored
fix(preview): add user builderPlugin to iframe builder (#838)
1 parent 9b13e1a commit 55474e3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/strange-months-glow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@rspress/plugin-preview': patch
3+
---
4+
5+
fix: add user builderPlugin to iframe builder

packages/plugin-preview/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export function pluginPreview(options?: Options): RspressPlugin {
123123
// not copy files again
124124
copy: undefined,
125125
},
126+
plugins: config?.builderPlugins,
126127
},
127128
builderConfig,
128129
);

0 commit comments

Comments
 (0)