We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d63a8 commit 44567c3Copy full SHA for 44567c3
packages/plugin-rsc/examples/basic/vite.config.ts
@@ -166,6 +166,7 @@ function vitePluginUseCache(): Plugin[] {
166
async transform(code) {
167
if (!code.includes('use cache')) return
168
const ast = await parseAstAsync(code)
169
+ // @ts-ignore for rolldown-vite ci estree/oxc mismatch
170
const result = transformHoistInlineDirective(code, ast, {
171
runtime: (value) => `__vite_rsc_cache(${value})`,
172
directive: 'use cache',
0 commit comments