Releases: facebook/metro
Releases Β· facebook/metro
v0.48.1
v0.48.0
- [Breaking]: Tweak the minifiers API to make the options configurable. Now the
minify()
method accepts an object instead of several params (more info). - [Feature]: Add
minifierConfig
config param to enable passing custom options to the minifier (more info). - [Feature]: Add
enableBabelRuntime
config param to select whether the@babel/runtime
plugin is enabled. - [Fix]: TypeScript constructor parameter properties (#258).
- [Fix]: React Native transformer now instantiates the HMR plugin correctly (more info).
- [Fix]: Build progress bar now behaves correctly when building multiple entry points (more info).
v0.47.1
- [Improvement]: Ignore
babel.config.js
files in addition to.babelrc
(#276). - [Improvement]: Change injection of global object to use
global
beforewindow
. - [Fix]: Generation of inline sourcemaps is now correct.
- [Fix]:
enableBabelRCLookup
config 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
transformerPath
module (more info). - [Improvement]: Add
module.id
param to production bundles (more info). - [Fix]: Handle the case where transformSync returns null in the React Native transformer (#264).
- [Fix]: Resolve
transformerPath
before attempting to read its contents (#268).
v0.46.0
v0.45.6
v0.45.5
- [Fix]: Add
@babel/plugin-external-helpers
as a metro dependency.
v0.45.4
- [Feature]: Add support for
babel.config.js
config 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
/export
statements. - [Fix]: Do not generate non-ES5 code when transforming
import
/export
statements. - [Fix]: Small issues around the new
experimentalImportSupport
config 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
optimizationSizeLimit
config param to not do expensive optimizations on large files. - [Fix]: Strip
const
keywords from the bundle runtime to make it compatible with older JS engines.