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

Add missing type import that crashes Vite builds #224

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Naartti
Copy link

@Naartti Naartti commented Aug 26, 2021

Add type-prefix to import. The bundler does not know to remove InitializePayload from the import, making builds fail for Vite (esbuild).

Fixes #223

Remove type import and declare it again. The bundler does not know to remove InitializePayload from the import, making builds fail for Vite (esbuild).
Fixes ryandrewjohnson#223
@Naartti Naartti changed the title Remove broken import that crashes Vite builds Add missing type import that crashes Vite builds Aug 27, 2021
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.

Import "InitializePayload" fails in esbuild (e.g. when using Vite)
1 participant