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: use vite instead of parcel in the examples #2329

Merged
merged 6 commits into from
Oct 31, 2024
Merged

fix: use vite instead of parcel in the examples #2329

merged 6 commits into from
Oct 31, 2024

Conversation

millotp
Copy link
Contributor

@millotp millotp commented Oct 31, 2024

Parcel would delete some random file like identity because it though it was not used, vite is smarter.
Also remove unused imports

Copy link

netlify bot commented Oct 31, 2024

Deploy Preview for docsearch ready!

Name Link
🔨 Latest commit 667071c
🔍 Latest deploy log https://app.netlify.com/sites/docsearch/deploys/67239b9d049b7200085fdf97
😎 Deploy Preview https://deploy-preview-2329--docsearch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks incredible, gg

@@ -62,7 +62,8 @@ export function DocSearch(props: DocSearchProps) {

const onClose = React.useCallback(() => {
setIsOpen(false);
}, [setIsOpen]);
setInitialQuery(props?.initialQuery);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this to fix the issue of the character leftover?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes ! but in only works for the playground, for the website this is done inside docusaurus directly so I will port the bug fix there

@millotp millotp merged commit d360855 into main Oct 31, 2024
10 checks passed
@millotp millotp deleted the fix/bundler branch October 31, 2024 15:44
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