Skip to content

Releases: sebastian-software/babel-preset-edge

Release 4.5.0

18 Jun 10:17
Compare
Choose a tag to compare

New Jest Auto Optimization

When using Rollup and Jest together you are now able to keep the config relatively easy. Here as an example a NodeJS API Gateway I have written recently:

{
  "presets": [
    [ "edge", { "target": "node", "modules": false }]
  ]
}

It disables module transpilation (keeps ESM) for Rollup, but still automatically transpiles them to CJS for Jest.

Details

  • Enforce CJS for env=test even if defined differently by the user. (48e961c)
  • Improved error message when NodeJS version can't be matched correctly to built-in list. (3bac9f1)
  • Updated react in dev-deps (eb85378)
  • Corrected markup (cb02fc8)
  • Added comparison with CRA (2ca3301)
  • Switched some badges to original services. At least trying to fix some missing images from shields.io. (882e81e)

Release 4.4.1

13 Jun 09:24
Compare
Choose a tag to compare

Release 4.4.0

12 Jun 14:56
Compare
Choose a tag to compare
  • Corrected docs (ac47aca)
  • Added another article regarding esm output. (129c60d)
  • Added support for transpile=esm (45425e9)

Release 4.3.1

28 May 07:10
Compare
Choose a tag to compare
  • Updated deps + refreshed snapshots (e5eaeb9)

Release 4.3.0

25 May 14:49
Compare
Choose a tag to compare
  • Added support for emotion CSS-in-JS (583d366)

Release 4.2.1

25 May 09:42
Compare
Choose a tag to compare
  • Corrected Windows support with new plugin version of smart-webpack-import. (887ef0f)

Release 4.2.0

25 May 09:11
Compare
Choose a tag to compare
  • Babel macros plugin (28be391)
  • Updated deps (f465210)
  • Added plugin-syntax-optional-chaining + fixed loose mode/legacy flag issue with decorators/classprops + Added loose mode support for object rest spread. (f977024)
  • Updated readme (4b11bee)
  • Added catch-bind plugin (c9a5e09)
  • Added decorators plugin + added support for loose mode to class properties plugin. (f9e0bbe)
  • Fixed readme (6592b1d)
  • Fixed readme (8025878)
  • Updated snapshots for babel updates. First changed a few generated hashes + the position of _inheritsLoose in code. Seems minor. (0aa0c4f)
  • Added jest badge (9055b3c)
  • Updated deps (aada81b)

Release 4.1.0

15 May 13:11
Compare
Choose a tag to compare
  • Fixed minor issue with env inside tests (a37b919)
  • Fixed a few bugs when using env:test (d830946)
  • Major update to readme (f9a7d8e)

Release 4.0.2

15 May 07:37
Compare
Choose a tag to compare
  • Updated snapshots after moving "evaluate" out of compression plugins. (81a90d6)
  • Updated snapshots for new transpile result after babel update when using Set() (08f3bf8)
  • Minor snapshot correction (aa09bb1)
  • Updated babel and babel-minify (8fc98ee)
  • Disabled evaluate compression in medium compression. This thing is far too risky/tricky to use here. See also: babel/minify#845 (comment) (b48fbf2)

Release 4.0.1

14 May 18:04
Compare
Choose a tag to compare
  • Downgrading Babel-Minify. Hopefully fixes babel/minify#845 for now. (09bf81c)
  • Correctly process NodeJS code. Previously we had added browsers from browserlist config if set. (a5520a4)
  • Corrected readme (3add6eb)
  • Fixed package content (97bdf70)
  • Fixed version of babel minify (1343769)