Skip to content

Commit 48322b1

Browse files
committed
fix: expose api for rollup
1 parent ebdb195 commit 48322b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ export default createUnplugin<Options | undefined, false>(
219219
},
220220
},
221221

222+
rollup: {
223+
api,
224+
},
225+
222226
buildStart() {
223227
const compiler = (options.compiler =
224228
options.compiler || resolveCompiler(options.root))

0 commit comments

Comments
 (0)