SwissDataScienceCenter / renku-ui

The web frontend of the Renku platform
https://renkulab.io
Apache License 2.0
13 stars 6 forks source link

Fix dynamic imports reported by Vite #3140

Closed leafty closed 2 months ago

leafty commented 2 months ago

Vite reports these:

[plugin:vite:reporter] 
(!) /home/runner/work/renku-ui/renku-ui/client/src/features/projectsV2/show/ProjectV2Show.tsx is dynamically imported by /home/runner/work/renku-ui/renku-ui/client/src/features/projectsV2/LazyProjectV2Show.tsx but also statically imported by /home/runner/work/renku-ui/renku-ui/client/src/features/ProjectPageV2/ProjectPageContainer/ProjectPageContainer.tsx, /home/runner/work/renku-ui/renku-ui/client/src/features/projectsV2/new/ProjectV2New.tsx, dynamic import will not move module into another chunk.

[plugin:vite:reporter] 
(!) /home/runner/work/renku-ui/renku-ui/client/src/features/ProjectPageV2/ProjectPageContainer/ProjectPageContainer.tsx is dynamically imported by /home/runner/work/renku-ui/renku-ui/client/src/features/ProjectPageV2/LazyProjectPageV2Container.tsx but also statically imported by /home/runner/work/renku-ui/renku-ui/client/src/features/ProjectPageV2/ProjectPageContent/ProjectPageContent.tsx, /home/runner/work/renku-ui/renku-ui/client/src/features/ProjectPageV2/ProjectPageNav/ProjectPageNav.tsx, /home/runner/work/renku-ui/renku-ui/client/src/features/rootV2/RootV2.tsx, dynamic import will not move module into another chunk.