Skip to content

Commit 28692e5

Browse files
committed
chore: fix incompatible types between local rollup and vite's rollup
fix: #111
1 parent 3f8cc95 commit 28692e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-pages/src/node/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ function pluginFactory(opts: PluginConfig = {}): Plugin {
9191
rollupOptions: {
9292
output: {
9393
manualChunks: undefined,
94-
plugins: [outputPluginDisableJekyll()],
94+
// local rollup's types may not be compatible with vite's rollup types
95+
plugins: [outputPluginDisableJekyll() as any],
9596
},
9697
},
9798
},

0 commit comments

Comments
 (0)