Closed adrianjacob closed 4 years ago
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!
I have storybook set up as a package in a monorepo. One of the other packages is a simple icon system which utilises SVGR CLI. This in turn outputs your 'usual' kind of ES6 code (see below)
index.js
export { default as IcClose } from './IcClose'
IcClose.jsThis package is now being imported into /src/molecules/tooltip/tooltip.js into the storybook package as below
import { IcClose } from '@qbmds/icons'
Yet on build I get the following error:
Its a simple js component I am trying to import, you get the same error if you change the
My guess is it is something to do with .storybook/main.js so for ref here it is
I have been pulling my hair out as it doesn't make sense (to me)
Cheers