Skip to content

Conversation

GeorgeTaveras1231
Copy link

@GeorgeTaveras1231 GeorgeTaveras1231 commented Feb 10, 2024

Reproduces the syntax error described in #220 . Tests will not pass until that PR is merged.

The changes just include the addition of a composes: directive in a sass file to a file that uses syntax only parseable by SASS

To see the results I ran npm test -- __tests__/cli.test.ts

Expected: test to pass
Actual: Produces the following error

Command failed: npm run typed-scss-modules "examples/basic/**/*.scss" -- --includePaths examples/basic/core --aliases.~alias variables --banner '// example banner'
    /<rootPath>/typed-scss-modules/node_modules/postcss/lib/input.js:106
          result = new CssSyntaxError(
                   ^
    CssSyntaxError: /<rootPath>/typed-scss-modules/examples/basic/feature-a/another-style.scss:3:19: Unknown word
    You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant