dillon1000/react
Commit
Browse files [Fresh] Throw in prod and change annotation (#15939)
* Disable React Refresh Babel transform in prod * Throw early if React Refresh runtime is imported in production * @hot reset -> @refresh reset
Changed paths3 files
First-parent comparisonpackages/react-refresh/src/ReactFreshBabelPlugin.js ModifiedM packages/react-refresh/src/ReactFreshRuntime.js ModifiedM packages/react-refresh/src/__tests__/ReactFreshIntegration-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…