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
When you have a Angular CLI project that storybook is bootstrapping on and you use full control mode in combination with that the loaders are getting clobbered.
For example, I use DefinePlugin to conditionally include tests in full control mode:
ERROR in ./src/assets/fonts/MarkWebPro-LightW01Regular.eot
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./node_modules/css-loader?{"import":false}!./node_modules/postcss-loader/lib?{"ident":"postcss"}!./src/assets/styles/custom.css 7:1595-1645 7:1678-1728
@ ./src/assets/styles/custom.css
Which seems to indicate that the loaders are getting clobbered somehow. If I remove webpack.config.js, everything works fine though.
The text was updated successfully, but these errors were encountered:
Issue
When you have a Angular CLI project that storybook is bootstrapping on and you use full control mode in combination with that the loaders are getting clobbered.
For example, I use
DefinePlugin
to conditionally include tests in full control mode:When I run storybook, it throws errors like:
Which seems to indicate that the loaders are getting clobbered somehow. If I remove
webpack.config.js
, everything works fine though.The text was updated successfully, but these errors were encountered: