Skip to content

Add missing type import that crashes Vite builds - #224

Open
Naartti wants to merge 2 commits into
ryandrewjohnson:masterfrom
Naartti:patch-1
Open

Add missing type import that crashes Vite builds#224
Naartti wants to merge 2 commits into
ryandrewjohnson:masterfrom
Naartti:patch-1

Conversation

@Naartti

@Naartti Naartti commented Aug 26, 2021

Copy link
Copy Markdown

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