You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this is so "hacky" and fragile to maintain because this depends on some bundlers(e.g. webpack or rollup) module resolver implementation.
If we drop Storybook v6 support, we can eliminate this differential require expression and can use import { makeDecorator } from "@storybook/preview-api".
Motivation
Storycap current version(= v4.3.x) switches dependent module between
@storybook/addon
and@storybook/preview-api
like this:storycap/packages/storycap/src/client/with-screenshot.ts
Lines 2 to 9 in 237a781
But this is so "hacky" and fragile to maintain because this depends on some bundlers(e.g. webpack or rollup) module resolver implementation.
If we drop Storybook v6 support, we can eliminate this differential
require
expression and can useimport { makeDecorator } from "@storybook/preview-api"
.To @indigolain
Thank you for taking the time to discuss this problem.
The text was updated successfully, but these errors were encountered: