Skip to content

Stylus-modules usage #1

@awakentwice

Description

@awakentwice

Hi there. I'm using css-modules and stylus as preprocessor.
When I'm running tape, I get such kind of error

`
babel-tape-runner tests//*.test.js | faucet && tape-babel-css-modules tests//*.test.js | faucet

.../node_modules/babel-core/lib/transformation/file/index.js:548
throw err;
^

SyntaxError: .../src/components/Component/styles.styl: Unexpected token (1:1)

1 | @import '~mixins'

`

This is my npm script
"test": "tape-babel-css-modules tests/**/*.test.js | faucet"

What should I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions