storybook-addon-performance
storybook-addon-performance copied to clipboard
StoryBook Performance Add-on not compatible with the latest Storybook Version 7.0
The performance add is not compatible with Storybook v7.0 and so fails to run.
is there any advancement in resolving this issue 🤔
I am trying to use this package with storybook v7 but throwing the error Package subpath './package.json' is not defined by "exports"
, any fixes for this???
@Zaid944 I was able to solve this by removing the wrapping call to getAbsolutePath()
from the config in main.js:
addons: [
getAbsolutePath("@storybook/addon-essentials"),
getAbsolutePath("@storybook/addon-links"),
getAbsolutePath("@storybook/addon-interactions"),
getAbsolutePath("storybook-css-modules-preset"),
"storybook-addon-performance",
],
Fix for me was rewriting "storybook-addon-performance/register",
in main js to "storybook-addon-performance",