ec7573790f
* Fix storybook build failing issues Storybook build was failing because of 2 issues: 1. Can't import the named export 'Fragment' from non EcmaScript module (only default export is available) I used solution provided in following comment: https://github.com/storybookjs/storybook/issues/16690#issuecomment-971579785 This issue comes from the framer-motion library. 2. SassError: Can't find stylesheet to import. To fixe this issue I have updated the path in import statements. **Before** ``` @import "@wordpress/base-styles/breakpoints"; @import "@wordpress/base-styles/mixins"; @import "wordpress-components/src/popover/style"; @import "wordpress-components/src/tooltip/style"; ``` **After** ``` @import "node_modules/@wordpress/base-styles/breakpoints"; @import "node_modules/@wordpress/base-styles/mixins"; @import "node_modules/wordpress-components/src/popover/style"; @import "node_modules/wordpress-components/src/tooltip/style"; ``` * Add a comment to explain why webpackFinal block was added |
||
---|---|---|
.. | ||
components | ||
context | ||
hocs | ||
hooks | ||
utils |