@babel/preset-modules
0.2.0 · 17 Jun 2026MIT48.9M / weekRepositoryHomepagenpmAtom feed
9 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.2.x · latest line
0.2.0
17 Jun 2026- 0.1.x
0.1.6
21 Jul 20230.1.5
21 Oct 2021Fix duplicate ast nodes
0.1.4
27 Aug 2020Bugfix: Function.name transform - handle cases where a binding is not defined in a scope (#20, thanks @LarsDenBakker!)
0.1.3
10 Feb 2020Adds an additional transform to work around block scoping bugs in Safari 10 and 11
0.1.1
19 Nov 2019@babel/preset-modulesversion 0.1.1 changes the behavior of JSX to fix compatibility with Edge 16-18. This preset originally compiled JSX Spread attributes to Object Spread expressions, however these are not supported in Edge. Instead, as of0.1.1JSX Spread is now transpiled toObject.assign()calls:@babel/preset-modulesversion 0.1.1 changes the behavior of JSX to fix compatibility with Edge 16-18. This preset originally compiled JSX Spread attributes to Object Spread expressions, however these are not supported in Edge. Instead, as of0.1.1JSX Spread is now transpiled toObject.assign()calls:// input: const X = <div a {...b} /> // previous output: (0.1.0): const X = h('div', { a: true, ...b }) // new output: (0.1.1): const X = h('div', Object.assign({ a: true }, b))The raw byte size has increased slightly, but this increase shrinks to near-0 when compressed using Gzip or Brotli, since the repeated
Object.assign(calls are essentially free.0.1.0
12 Nov 2019Initial release!
- 0.0.x
0.0.1
8 Nov 2019