Skip to content

Commit fbb9309

Browse files
committed
chore: add comment
1 parent ab79047 commit fbb9309

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-react/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ export default function viteReact(opts: Options = {}): Plugin[] {
362362

363363
let nativePlugin: ((options: any) => Plugin) | undefined
364364
try {
365+
// NOTE: `+` is to bypass lint & typecheck. vite/internal exists for newer rolldown-vite
365366
nativePlugin = (await import('vite' + '/internal'))
366367
.reactRefreshWrapperPlugin
367368
} catch {}

0 commit comments

Comments
 (0)