web icon indicating copy to clipboard operation
web copied to clipboard

Support for monorepo build is missing in @web/dev-server-storybook

Open hardikpthv opened this issue 11 months ago • 1 comments

Currently when @web/dev-server-storybook is used in the Monorepo particularly with yarn workspaces in which the dependencies are managed centrally instead of package-level, the building of the storybook feature breaks on the following issue:

node_modules/@web/dev-server-storybook/node_modules/babel-plugin-bundled-import-meta/index.js:68
                                        throw new Error('Does not match any mappings or bundleDir.');

From quick investigation, the change in rollup base config, by adding support for packageDir, would fix the issue.

hardikpthv avatar Mar 20 '24 17:03 hardikpthv