v0.24.4
0.24.4 / 2020-03-21
Added
-
Added
babel.react
config to configure@babel/preset-react
options, allowing you to opt-in to using the newautomatic
runtime which was added in Babel v7.9.0.For convenience, you can just configure the runtime name if you want to try it with the experimental version of React:
module.exports = { babel: { react: 'automatic' } }
Changed
- Updated to Babel v7.9.0.
- Validate that the entry module for quick commands (e.g.
nwb react run SomeComponent.js
) exists, to avoid a confusing error message [#441]
Dependencies
- @babel/core: v7.8.7 → v7.9.0
- @babel/plugin-transform-react-constant-elements: v7.8.3 → v7.9.0
- @babel/plugin-transform-react-jsx: v7.8.3 → v7.9.1
- @babel/plugin-transform-runtime: v7.8.3 → v7.9.0
- @babel/preset-env: v7.8.7 → v7.9.0
- @babel/preset-react: v7.8.3 → v7.9.1
- @babel/runtime: v7.8.7 → v7.9.0
- babel-loader: v8.0.6 → v8.1.0
- mocha: v7.1.0 → v7.1.1
- react-refresh: v0.8.0 → v0.8.1