Releases: sebamarynissen/create-esm-loader
Releases · sebamarynissen/create-esm-loader
v0.2.5
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
What's changed
- Fixed a bug on Node
>=18.18
that doesn't acceptURL
objects infileURLToPath
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
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
0.2.1
0.2.0
What's Changed
- Added support for webpack like configurations
New Contributors
- @brev made their first contribution in #3
- @sebamarynissen made their first contribution in #5
Full Changelog: v0.1.1...v0.2.0
0.1.1
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
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
This release adds support for Node 16.12 where the loader hooks api has been changed.