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

fix: include tippy dependency #294

Merged
merged 6 commits into from
Aug 3, 2023
Merged

fix: include tippy dependency #294

merged 6 commits into from
Aug 3, 2023

Conversation

YousefED
Copy link
Collaborator

@YousefED YousefED commented Aug 2, 2023

During the investigation of #276 I found an issue (doesn't solve the original issue), that tippy.js is bundled in our bundled javascript files.

This is because vite is configured to not bundle dependencies listed in packages.json. However, we import "tippy.js" in our formattingtoolbar, but it's not in the package json.

This PR:

  • fixes the above issue by including "tippy.js" as a depdency
  • also upgrades vite

We can prevent these errors by using https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-extraneous-dependencies.md. @matthewlipski, could you look into adding this eslint rule?

@vercel
Copy link

vercel bot commented Aug 2, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote-website ✅ Ready (Inspect) Visit Preview Aug 3, 2023 2:56pm

@matthewlipski matthewlipski merged commit 1c32707 into main Aug 3, 2023
1 check passed
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