Releases: react/metro
Releases Β· react/metro
v0.47.1
- [Improvement]: Ignore
babel.config.jsfiles in addition to.babelrc(#276). - [Improvement]: Change injection of global object to use
globalbeforewindow. - [Fix]: Generation of inline sourcemaps is now correct.
- [Fix]:
enableBabelRCLookupconfig param is now correctly taken into account.
v0.47.0
- [Breaking]: Remove the absolute path of files as an argument of
babelTransformerPath(more info). - [Breaking]: Changed the interface of the
transformerPathmodule (more info). - [Improvement]: Add
module.idparam to production bundles (more info). - [Fix]: Handle the case where transformSync returns null in the React Native transformer (#264).
- [Fix]: Resolve
transformerPathbefore attempting to read its contents (#268).
v0.46.0
v0.45.6
v0.45.5
- [Fix]: Add
@babel/plugin-external-helpersas a metro dependency.
v0.45.4
- [Feature]: Add support for
babel.config.jsconfig files in the React Native transformer (#251). - [Improvement]: Return a meaningful message when a bundle doesn't exist.
- [Fix]: Fix haste module resolution inside of scoped modules (#241).
- [Fix]: Do not include the sourcecode of assets in the sourcemaps.
- [Fix]: Ignore babel config files when transforming
import/exportstatements. - [Fix]: Do not generate non-ES5 code when transforming
import/exportstatements. - [Fix]: Small issues around the new
experimentalImportSupportconfig flag (more info).
v0.45.3
- [Improvement]: Preview source code or source image of a module, as well as the output code from the metro visualizer.
- [Fix]: Make Metro visualizer dependency optional.
v0.45.2
- [Feature]: Make Metro bundles compatible with ES6 Module runtimes.
- [Improvement]: Add
optimizationSizeLimitconfig param to not do expensive optimizations on large files. - [Fix]: Strip
constkeywords from the bundle runtime to make it compatible with older JS engines.
v0.45.1
- [Feature]: Add Metro Visualizer: a bundle visualizer to see the modules that form your app.
- [Feature]:
inlineRequiresnow also affectimportstatements (Note: This is still experimental and it's under theexperimentalImportSupportconfig param). - [Improvement]: Native support for ES6 Module
import/export. This improves app performance by removing thebabelInteropRequire()wrappers around import calls (Note: This is still experimental and it's under theexperimentalImportSupportconfig param). - [Improvement]: Allow for passing an intermediate config directly to metro methods.
v0.45.0
- [Feature]: Upgrade to Babel to 7.0.0 from 7.0.0-beta.56 (Babel changelog).
- [Improvement]: Upgrade
babel-preset-fbjsto 2.3.0. - [Fix]: End Metro server gracefully on some edge errors (more info).