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 ab79047 commit fbb9309Copy full SHA for fbb9309
packages/plugin-react/src/index.ts
@@ -362,6 +362,7 @@ export default function viteReact(opts: Options = {}): Plugin[] {
362
363
let nativePlugin: ((options: any) => Plugin) | undefined
364
try {
365
+ // NOTE: `+` is to bypass lint & typecheck. vite/internal exists for newer rolldown-vite
366
nativePlugin = (await import('vite' + '/internal'))
367
.reactRefreshWrapperPlugin
368
} catch {}
0 commit comments