css-modulesify: composes (import) doesn't seem to work at all (on Windows at least)

Hey, trying to use a simple import statement to import a value from another css file:

values.css

@value someValue: 500px;

header.css

@value someValue from './values.css';

:global( .header ) {
    background-color: someValue;
}

I’m getting the following error:

NO NODE D:\dev\browserify-react\D:\D:\src\components\header\styles.css D:\dev\browserify-react\D:\D:
\src\components\header\values.css
[Error: Node does not exist: D:\dev\browserify-react\D:\D:\src\components\header\styles.css]

Notes:

  • header.css is being imported from a react component as part of a browserify stack
  • both css files are in the same directory
  • the same thing happens with any compose statement

Any idea what is wrong here? 😦 I tried to investigate the file loading code, but I didn’t have any luck understading what was going on.

About this issue

  • Original URL
  • State: open
  • Created 8 years ago
  • Comments: 21 (10 by maintainers)

Most upvoted comments

Test repo: https://github.com/Nimelrian/css-modulesify-windows-test

travis-ci can not build on Windows AFAIK.

Jenkins can for sure if you have the building node running on Windows.