Skip to content

Releases: sebamarynissen/create-esm-loader

v0.2.5

21 Sep 08:28
Compare
Choose a tag to compare

What's changed?

  • Nothing has changed, except that the readme has been updated for use on Node >=20.7

Full Changelog: v0.2.4...v0.2.5

0.2.4

20 Sep 13:06
Compare
Choose a tag to compare

What's changed

  • Fixed a bug on Node >=18.18 that doesn't accept URL objects in fileURLToPath due to loaders running in separate threads - at least that's what we assume.

Full Changelog: v0.2.3...v0.2.4

0.2.3

22 Mar 21:01
Compare
Choose a tag to compare

What's changed

  • Fixed a bug with bare specifiers. package.exports is now properly taken into account when defining a loader with the webpack syntax.

Full Changelog: v0.2.2...v0.2.3

0.2.2

22 Mar 21:00
Compare
Choose a tag to compare

What's changed

  • Fixed a bug with bare specifiers

Full Changelog: v0.2.1...v0.2.2

0.2.1

22 Mar 16:12
Compare
Choose a tag to compare

What's changed

  • Fixed a bug with normalizing loader definitions

Full Changelog: v0.2.0...v0.2.1

0.2.0

22 Mar 16:11
Compare
Choose a tag to compare

What's Changed

  • Added support for webpack like configurations

New Contributors

Full Changelog: v0.1.1...v0.2.0

0.1.1

27 Oct 07:17
Compare
Choose a tag to compare

No code changes have been made, but the readme was updated to reflect that createLoader is now async:

export const { resolve, load } = await createLoader({ ... });

Full Changelog: v0.1.0...v0.1.1

0.1.0

26 Oct 07:42
Compare
Choose a tag to compare

BREAKING CHANGES

  • A loader now has to be created using await (#2). This means that
import createLoader from 'create-esm-loader';
export const {
  resolve,
  getFormat,
  getSource,
  transformSource,
  load,
} = createLoader({ ... });

becomes

import createLoader from 'create-esm-loader';
export const {
  resolve,
  getFormat,
  getSource,
  transformSource,
  load,
} = await createLoader({ ... });

Full Changelog: v0.0.1...v0.1.0

0.0.1

25 Oct 17:56
Compare
Choose a tag to compare

This release adds support for Node 16.12 where the loader hooks api has been changed.