[examples] Update Next.js example to use ESM #88
Labels
examples
Relating to /examples
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Summary
pigment-css/examples/pigment-css-nextjs-ts/next.config.js
Line 1 in b4e2d77
is using CJS. But
npx create-next-app@latest
gives you anext.config.mjs
file. So we need to update this example.Motivation
Make it easier to copy and paste the example to an existing project.
The text was updated successfully, but these errors were encountered: