After changing default webpack 6 webpack builder to storybook 7 + vite I'm getting a lot of warnings like this one
4:15:33 PM [vite] warning:
/Users/filip/projects/chilipiper/frontend/frontend-packages/design-system/src/new/components/wayfinding/setting-label/SettingLabel.stories.tsx
88 | window.$RefreshReg$ = prevRefreshReg;
89 | window.$RefreshSig$ = prevRefreshSig;
90 | import(import.meta.url).then((currentExports) => {
| ^
91 | RefreshRuntime.registerExportsForReactRefresh("/Users/filip/projects/chilipiper/frontend/frontend-packages/design-system/src/new/components/wayfinding/setting-label/SettingLabel.stories.tsx", currentExports);
92 | import.meta.hot.accept((nextExports) => {
The above dynamic import cannot be analyzed by Vite.
See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.
Is this a known thing? Should I be worried?