Closed
Description
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
haven't tried it yet, but it works on the same env, same code, but v1 react-scripts
Which terms did you search for in User Guide?
N/A
Environment
Environment:
OS: macOS High Sierra 10.13.2
Node: 8.9.4
Yarn: 1.3.2
npm: 5.6.0
Watchman: Not Found
Packages: (wanted => installed)
react: ^16.2.0 => 16.2.0
react-dom: ^16.2.0 => 16.2.0
react-scripts: 2.0.0-next.096703ab => 2.0.0-next.096703ab
Browser: Chrome Version 63.0.3239.132 (Official Build) (64-bit)
Steps to Reproduce
- create new app
yarn add react-slick
import 'slick-carousel/slick/slick-theme.css'
orrequire('slick-carousel/slick/slick-theme.css');
in index.css
Expected Behavior
No runtime error
Actual Behavior
Reproducible Demo
https://github.com/viankakrisna/create-react-app-example/blob/master/src/index.js