Skip to content

Conversation

@MiB3Avenger
Copy link

Updated package.json template to include type: "module".

This allows loading icons as ES Modules in NPM.

Bug found while testing SSR with Vite + Laravel + Inertia. This PR fixes the issue.

Solution to this issue was provided from: https://stackoverflow.com/a/40021867

Quick and easy fix.

image

Ps: This is my first time contributing by using a fork. I'm sorry if the description is not much detailed. If there are much easier ways to do the same thing while using oh vue icons that doesn't require a PR, please let me know. At the moment, I am using my own fork for my project, but I hope this allows others to make use of this fix.

Updated package.json template to include type: "module".

This allows loading Icons as ES Modules in NPM.
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.

1 participant