Closed
Description
openedon Dec 6, 2018
Describe the bug
scss is still not working under windows out of the box. We tested it on Linux and it works OK, but with the same config(just initialized) on windows it fails with error You may need an appropriate loader to handle this file type.
Tested in the combination of storybook 4.0.12 and CRA 2.1.1
To Reproduce
Steps to reproduce the behavior:
- Initialize new CRA project
- Initialize storybook
- Rename App.css to App.scss
- Create a story for App.js
- Run storybook
- You see an error
You may need an appropriate loader to handle this file type.
about scss files and svg import
Expected behavior
Working SCCS and SVG import out of the box
Code snippets
If applicable, add code samples to help explain your problem.
System:
- OS: Windows10
- Browser: chrome (actually doesn't matter)
- Framework: react
- Addons: react-scripts 2.1.1
- Version: 4.0.12
Additional context
Seems like #4405 doesn't support it properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment