typanion icon indicating copy to clipboard operation
typanion copied to clipboard

fix: add `module` field

Open merceyz opened this issue 2 years ago • 0 comments

What's the problem this PR addresses?

esbuild, by default, doesn't look for .mjs extensions so it picks the commonjs file which it wont tree-shake.

How did you fix it?

Added a module field pointing to the .mjs file.

merceyz avatar Jan 08 '24 00:01 merceyz