Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add esm support #14

Merged
merged 1 commit into from
Dec 31, 2021
Merged

feat: add esm support #14

merged 1 commit into from
Dec 31, 2021

Conversation

userquin
Copy link
Member

This PR uses unbuild instead tsup, also updates all deps to major.

I also change the ui since we need to deal with windows paths on esm, so prefixing with /@fs/ and removing the file:/// protocol do the trick, see refetch function on src/client/pages/index/module.vue component.

closes #13

@userquin userquin requested a review from antfu December 30, 2021 16:55
@antfu antfu merged commit c5c149b into main Dec 31, 2021
@antfu antfu deleted the feat/esm-support branch December 31, 2021 18:32
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.

error on ESM environment
2 participants