From 7e6764999fc275bfef0b624cc40ee83129f62351 Mon Sep 17 00:00:00 2001 From: Alex Sanders Date: Wed, 8 May 2024 10:25:59 +0100 Subject: [PATCH] Update esmodules changeset (#1428) --- .changeset/lovely-moose-thank.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.changeset/lovely-moose-thank.md b/.changeset/lovely-moose-thank.md index 0a493bb0f..21e090267 100644 --- a/.changeset/lovely-moose-thank.md +++ b/.changeset/lovely-moose-thank.md @@ -20,4 +20,5 @@ '@guardian/libs': patch --- -Now bundled using [`pkgroll`](https://www.npmjs.com/package/pkgroll). +1. All packages are now ES modules, although they should be compatible with CommonJS environments. +2. Adds entry points for projects that can consume [`package.json#exports`](https://nodejs.org/api/packages.html#exports), alongside `main`.