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

Enable import injection to support Vite #437

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

novhack
Copy link
Contributor

@novhack novhack commented Feb 5, 2024

When trying to bundle a 4.7.0-next version of Revogrid with Vite 5 in a Vue 3 project (using vue3-datagrid next branch) I encountered a problem when a bundled project refused to load revogrid. The error was specifically: "TypeError: Failed to fetch dynamically imported module".
A solution that resolved the problem was to add "enableImportInjection" extra to Stencil build as this comment stated: vitejs/vite#12434 (comment)

@m2a2x m2a2x merged commit 9f81054 into revolist:next Apr 16, 2024
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