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
{{ message }}
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
Oh thanks for pointing this out! I appreciate the time you took to fill out an issue. Do you have a good workaround available that you could share?
For anyone stumbling on this issue. I believe using tsconfig-paths-webpack-plugin and configuring it as shown in the issue link below should be the preferred workaround.
I'll get this integrated into this package soon. (My wife and kid are both sick right now so I've been taking care of them lately. They should be better soon though.) Thanks for your patience.
Describe the bug
Nextjs automatically support tsconfig's paths and base url while addon add only root path to module resolution.
export const configureAbsoluteImports = (baseConfig: WebpackConfig): void => void baseConfig.resolve?.modules?.push(path.resolve())
hereYour minimal, reproducible example
https://github.com/StephanAksenchenko/Sb-addon-next-bug
Steps to reproduce
Expected behavior
I expect it should work identically
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Os - linux
Node - 16.14.0
storybook-addon-next version
v 1.6.2
Additional context
No response
The text was updated successfully, but these errors were encountered: