File tree 2 files changed +2
-2
lines changed
packages/plugin-react/src
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ export default function viteReact(opts: Options = {}): PluginOption[] {
235
235
filename : id ,
236
236
sourceFileName : filepath ,
237
237
// Required for esbuild.jsxDev to provide correct line numbers
238
- // This crates issues the react compiler because the re-order is too important
238
+ // This creates issues the react compiler because the re-order is too important
239
239
// People should use @babel /plugin-transform-react-jsx-development to get back good line numbers
240
240
retainLines :
241
241
getReactCompilerPlugin ( plugins ) != null
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const enqueueUpdate = debounce(async () => {
17
17
} , 16 )
18
18
19
19
// Taken from https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/lib/runtime/RefreshUtils.js#L141
20
- // This allows to resister components not detected by SWC like styled component
20
+ // This allows to register components not detected by SWC like styled component
21
21
function registerExportsForReactRefresh ( filename , moduleExports ) {
22
22
for ( const key in moduleExports ) {
23
23
if ( key === '__esModule' ) continue
You can’t perform that action at this time.
0 commit comments