You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With TypeScript v5.2.2, the module resolution has some changes that cause it to not work for @islands/icons (while working for other subpackages just fine!).
This is because @islands/icons uses a different setup compared to other plugins like @islands/headings or @islands/feed. While both @islands/headings and @islands/feed contain a .cjs and a .ts file under src/, @islands/icons contains an .mjs file and a .ts file.
This issue contains some more discussion and potential solutions microsoft/TypeScript#52363. However one potential solution could be to match the structure of the other packages that continue to work after the update.
Dependencies Info
Run npx iles info and pnpm list (or npm list) and provide the output:
iles v0.9.2 vite v4.0.3
Screenshots 📷
The text was updated successfully, but these errors were encountered:
iles
andvite
.Description 📖
With TypeScript v5.2.2, the module resolution has some changes that cause it to not work for
@islands/icons
(while working for other subpackages just fine!).This is because
@islands/icons
uses a different setup compared to other plugins like@islands/headings
or@islands/feed
. While both@islands/headings
and@islands/feed
contain a.cjs
and a.ts
file undersrc/
,@islands/icons
contains an.mjs
file and a.ts
file.This issue contains some more discussion and potential solutions microsoft/TypeScript#52363. However one potential solution could be to match the structure of the other packages that continue to work after the update.
Dependencies Info
Run
npx iles info
andpnpm list
(ornpm list
) and provide the output:Screenshots 📷
The text was updated successfully, but these errors were encountered: