Skip to content

feat: use microbundle for distribution #15

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

Merged
merged 3 commits into from
Jul 25, 2020
Merged

Conversation

azu
Copy link
Member

@azu azu commented Jul 24, 2020

  • update dependencies
  • distribute bundled file

Note: It prenvet direct requireing.

I noticed that skypack recognize https://cdn.skypack.dev/property-information/svg as mode=raw/svg.

Maybe, Is it related to loading error?

await import("https://cdn.skypack.dev/property-information"); // OK
await import("https://cdn.skypack.dev/property-information/svg"); // Uncaught (in promise) ReferenceError: require is not defined

I met this issue when try to load rehype-parse.

rehype-parsehast-util-from-parse5property-information/svg

@azu azu changed the title refactor: update dependencies feat: use microbundle for distribution Jul 25, 2020
@azu azu merged commit 3df1fc2 into master Jul 25, 2020
@azu azu deleted the chore/update-deps-2020-07-25 branch July 25, 2020 06:37
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