Closed MonsterDeveloper closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
tabler-icons | ✅ Ready (Inspect) | Visit Preview | Sep 27, 2024 8:07pm |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This pr was closed because it has been inactive for 14 days since being marked as stale.
Issue
Currently the ESM environment still resolves to CJS exports, according to AreTheTypesWrong:
Changes made
I've fixed the file extensions settings in
rollup.config
:.js
/.ts
for CJS and.mjs
/.mts
for ESM (since there's notype: module
inpackage.json
).I've also included
exports
in thepackage.json
to explicitly specify files to resolve to.Now all the environments resolve correctly: