amp.dev icon indicating copy to clipboard operation
amp.dev copied to clipboard

Migrate to ESM

Open matthiasrohmer opened this issue 4 years ago • 2 comments

Follow-up to https://github.com/ampproject/amp.dev/pull/5650.

p-queue is one of the first packages to deprecate usage via require but enforces using packages to migrate to Node.js-native module syntax as per https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c.

At a glance this seems like a daunting task for amp.dev but I fear there will soon be more packages to follow this decision. The question is how do we want to approach this?

/cc @sebastianbenz @patrickkettner @lluerich

matthiasrohmer avatar Apr 07 '21 09:04 matthiasrohmer