nwb v0.24.4 Release Notes
Release Date: 2020-03-21 // about 4 years ago-
โ 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
- โ Added