revogrid icon indicating copy to clipboard operation
revogrid copied to clipboard

Enable import injection to support Vite

Open novhack opened this issue 1 year ago • 0 comments

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: https://github.com/vitejs/vite/issues/12434#issuecomment-1471305880

novhack avatar Feb 05 '24 12:02 novhack