Skip to content

Conversation

esfox
Copy link

@esfox esfox commented Feb 17, 2024

I was trying to use this with Vite (which uses esbuild so ESM modules are used), but I kept getting this error:

Error: Failed to resolve entry for package "typed-html". The package may have incorrect main/module/exports specified in its package.json.

I tried to clone this repo and tried to build it, then I noticed that "module" in the package.json points to dist/esm/elements.js, which is wrong 'cause checking the dist folder after building, it's actually dist/esm/src/elements.js.

@PCreations
Copy link

I need this too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants