mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Remove unused imports from the setup function in runtime.ts to streamline module loading.
This commit is contained in:
parent
9d1967910d
commit
78f6b56e12
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user