Remove unused imports from the setup function in runtime.ts to streamline module loading.

This commit is contained in:
Norbert de Langen 2025-03-28 15:53:37 +01:00
parent 9d1967910d
commit 78f6b56e12

View File

@ -33,9 +33,6 @@ export function setup() {
// handle all uncaught StorybookError at the root of the application and log to telemetry if applicable
global.addEventListener('error', errorListener);
global.addEventListener('unhandledrejection', unhandledRejectionListener);
import('../highlight/preview');
import('../measure/preview');
}
// TODO: In the future, remove this call to make the module side-effect free