File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/plugin-react/src Expand file tree Collapse file tree 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[] {
235235 filename : id ,
236236 sourceFileName : filepath ,
237237 // 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
239239 // People should use @babel /plugin-transform-react-jsx-development to get back good line numbers
240240 retainLines :
241241 getReactCompilerPlugin ( plugins ) != null
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const enqueueUpdate = debounce(async () => {
1717} , 16 )
1818
1919// 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
2121function registerExportsForReactRefresh ( filename , moduleExports ) {
2222 for ( const key in moduleExports ) {
2323 if ( key === '__esModule' ) continue
You can’t perform that action at this time.
0 commit comments