- [Feature]: Support custom transformer/resolver options in
metro build
andrunBuild
API. (fcfecc9 by @motiz88) - [Feature]:
metro get-dependencies --entryFile <entryFile>
can now be called asmetro get-dependencies <entryFile>
. (6fdce04 by @huntie) - [Feature]: Add
Content-Type
andContent-Length
headers for assets to Metro server. (#953 by @aleqsio, #961 by @byCedric) - [Feature]: Expose
mergeConfig
util frommetro
package. (aa8ec90 by @huntie) - [Fix]:
metro-file-map
: consistently abort crawl whenend()
is called. (51877a8 by @motiz88) - [Fix]:
metro-config
: Don't mutate argument toloadConfig
. (38ec62d by @motiz88) - [Fix]: Babel transformers: Provide correct absolute source path to plugins when Metro is not run from the project root. (de19bbd by @robhogan)
- [Fix]:
resolver.assetExts
will now match asset files for extension values that include a dot (.
). (6d65a32 by @huntie) - [Fix]: Don't register an
unhandledRejection
listener, fix spammy EventEmitter leak warning. (833f2ff by @motiz88) - [Types]: Add bundled TypeScript definitions (partial) for all packages previously on DefinitelyTyped. (c022c36, 07732e7, 9ee5280 by @huntie, with @afoxman and @tido64)
- [Types]: Expose
MetroConfig
type inmetro
package. (d2f3664 by @huntie)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Reorder
asyncRequire
's parameters and make module name optional. (4e5261c by @motiz88) - [Experimental]: Remove experimental
metro-hermes-compiler
package. (833f2ff by @motiz88) - [Experimental]: Package Exports
unstable_conditionNames
now defaults to['require']
. (#955 by @huntie) - [Experimental]: Add compatibility with legacy Node.js "exports" array formats. (f321cff, 1e47cb5 by @huntie)
Full Changelog: v0.76.0...v0.76.1