Skip to content

Commit fa6353d

Browse files
committed
feat: expose more
1 parent f480f3f commit fa6353d

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

packages/plugin-rsc/src/core/plugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { Plugin } from 'vite'
22

3+
/** @experimental */
34
export default function vitePluginRscCore(): Plugin[] {
45
return [
56
{

packages/plugin-rsc/src/plugin.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ function resolvePackage(name: string) {
7070
return pathToFileURL(require.resolve(name)).href
7171
}
7272

73+
export { vitePluginRscCore }
74+
7375
export type RscPluginOptions = {
7476
/**
7577
* shorthand for configuring `environments.(name).build.rollupOptions.input.index`

0 commit comments

Comments
 (0)