Closed OmarMAttia7 closed 6 months ago
Can you please try with version 2.0.3-beta.0 and confirm that everything is alright? The tool I'm using is saying no problems found
purify-ts v2.0.3-beta.0
Build tools:
- typescript@5.3.3
No problems found 🌟
┌───────────────────┬─────────────┬───────────────┐
│ │ "purify-ts" │ "purify-ts/*" │
├───────────────────┼─────────────┼───────────────┤
│ node10 │ 🟢 │ (wildcard) │
├───────────────────┼─────────────┼───────────────┤
│ node16 (from CJS) │ 🟢 (CJS) │ (wildcard) │
├───────────────────┼─────────────┼───────────────┤
│ node16 (from ESM) │ 🟢 (ESM) │ (wildcard) │
├───────────────────┼─────────────┼───────────────┤
│ bundler │ 🟢 │ (wildcard) │
└───────────────────┴─────────────┴───────────────┘
Yes, version 2.0.3-beta.0 is working correctly 👍.
Alright, published 2.0.3
Hello, thank you for your work on maintaining this library. The latest release (2.0.2) seems to break the ESM build, I got the following error when I tried to use it with pnpm, SvelteKit 2, and Vite 5:
I tried setting up a minimal reproduction in an empty repository with only typescript@5.3.3 and purify-ts@2.0.2 in it, it gave the following error when importing
Maybe
:Removing
"type": "module"
frompackage.json
or reverting topurify-ts@2.0.1
seems to fix the problem.