- Sync with latest
@next/react-refresh-utils
- Add license to files copied from @vercel/next.js
We no longer want to assume anything about your webpack configuration (e.g. file extensions for your React components). We also want to use as little as possible of webpack's internal API.
For this reason, we no longer trying to put everything together for you. The loader and entry runtime have been separated from the webpack plugin. Users will need to manually add each one to their configuration. Besides significantly simplifying our code, this change will help keep compatibility with future webpack versions and with more advanced/obscure configurations.
Version was bumped to v5 in order to match minimum compatible webpack version.
- BREAKING CHANGE: Minimum required version is now
[email protected]
- BREAKING CHANGE: Separated the webpack loader and entry runtime from the webpack plugin. See our README for instructions.
- NEW: Added optional plugin for integration with react-error-overlay
- NEW: Added support for
module.hot.invalidate
- FIX: We now properly support webpack's descriptor entries
- Now requires Babel 7.9.0+ with runtime=
automatic
on preset-react (see README.md)
- Fix webpack not caching loader
- Minor tweaks
- Remove
webpack@4
support again
- Adds support for both
webpack@4
andwebpack@5
- Properly establishes refresh boundaries for named exports
- Initial release