Story discovering failed: [ConfigError: [BABEL] unknown file: Preset /* your preset */ requires a filename to be set when babel is called directly #578
Labels
documentation
Improvements or additions to documentation
I could work around this problem by moving my babel config out of the root dir and reference it by the other tooling that needs it (e.g. Webpack, Jest, …). I don't expect a fix per se, but reporting nevertheless in case someone else runs into this issue. :)
Describe the bug
Adding MDX file with project that have babel config fails upon startup like so:
Reproduction
babel.config.json
in the root with contents:src/whatever.stories.mdx
file, contents doesn't matterpnpm install && pnpm run dev
Environment
The text was updated successfully, but these errors were encountered: