Looking at the docs, `exportTo` supports exporting a ESM module if the file ends with `.mjs`. However `importFrom` doesn't seem to support importing `.mjs` files (https://github.com/postcss/postcss-custom-properties/blob/9b46ae805605842cfa3b0c2f8f8b4dd1c8c88dce/src/lib/get-custom-properties-from-imports.js#L85).
Looking at the docs,
exportTosupports exporting a ESM module if the file ends with.mjs.However
importFromdoesn't seem to support importing.mjsfiles (postcss-custom-properties/src/lib/get-custom-properties-from-imports.js
Line 85 in 9b46ae8