-
-
Notifications
You must be signed in to change notification settings - Fork 429
Closed
Description
If I have a library in node_modules
, which is imported by a partial, then imported again, I get ERROR in ... File to import not found or unreadable
.
Given node_modules/somelib/colours.scss
exists, this doesn't work:
sass/core/_colours.scss:
@import '~somelib/colours.scss';src/components/Thing.scss:
@import 'core/colours';src/components/Thing.jsx:
require('./Thing.scss');
However, this works:
src/components/Thing.scss:
@import '~somelib/colours.scss';src/components/Thing.jsx:
require('./Thing.scss');
Note I'm running on Windows 7.
Metadata
Metadata
Assignees
Labels
No labels