Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Conflict with @storybook/preset-create-react-app, less and plain css files #3

Open
karlvr opened this issue Feb 15, 2021 · 0 comments
Labels
fix Something isn't working good first issue Good for newcomers

Comments

@karlvr
Copy link

karlvr commented Feb 15, 2021

It appears that storybook-preset-craco is incompatible with @storybook/preset-create-react-app (based on a quick look at the source's incompatiblePresets), but I didn't see the warning on my console. When I had both installed, I was able to load my .less files (as per my expectations), but loading .css files started to fail (they appeared to have become JavaScript files). Removing the @storybook/preset-create-react-app preset fixed it.

If this is the case, perhaps the README could make it explicit that you should remove the incompatible presets?

@danielknell danielknell reopened this Apr 15, 2021
@danielknell danielknell added fix Something isn't working good first issue Good for newcomers labels Apr 15, 2021
@danielknell danielknell added fix Something isn't working and removed fix Something isn't working labels May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fix Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants