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
Can Storybook be made compatible with absolute import paths:
import { Module } from '/imports/module'
I am working on adding Storybook to a Meteor project, and I store all my app code under <project root>/src. I'd like Storybook to map all absolute imports (starting with a "/" character) to src/*
This is brought up here and here but a solution hasn't been found yet.
I've tried all of the posted solutions I could find, including messing with webpack's resolvers config and various babel plugins.
Whenever I try to make my own babelrc it breaks Storybook's ability to parse React. I can't find the default babelrc config for Storybook anywhere.
I'd appreciate any suggestions!
The text was updated successfully, but these errors were encountered:
Can Storybook be made compatible with absolute import paths:
import { Module } from '/imports/module'
I am working on adding Storybook to a Meteor project, and I store all my app code under
<project root>/src
. I'd like Storybook to map all absolute imports (starting with a "/" character) tosrc/*
This is brought up here and here but a solution hasn't been found yet.
I've tried all of the posted solutions I could find, including messing with webpack's resolvers config and various babel plugins.
Whenever I try to make my own babelrc it breaks Storybook's ability to parse React. I can't find the default babelrc config for Storybook anywhere.
I'd appreciate any suggestions!
The text was updated successfully, but these errors were encountered: