Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with .sass #2

Open
vitorpiovezam opened this issue Feb 28, 2020 · 1 comment
Open

Not working with .sass #2

vitorpiovezam opened this issue Feb 28, 2020 · 1 comment

Comments

@vitorpiovezam
Copy link

vitorpiovezam commented Feb 28, 2020

Sorry, but I didn find any incompatibility with .SCSS on docs so, I think that is a problem.

@import 'node_modules/rupture-sass/rupture'

$screen-sm:768px

$rupture: map-merge($rupture, (
  scale: 768px, 
  scale-names: 'sm'
));

Error

ERROR in ./src/styles.sass (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/dist/cjs.js??ref--15-3!./src/styles.sass)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: expected ")".
  ╷
5 │ $rupture: map-merge($rupture, (
  │                                ^
  ╵
  src/styles/_mediaqueries.sass 5:32  @import
  src/styles/core.scss 3:9            @import
  /Users/vitorpiovezam/dev/vizir-test/vizir-pwa/src/styles.sass 1:9                           root stylesheet
@elgandoz
Copy link
Contributor

Have you tried formatting it like this?

$rupture: map-merge($rupture, (scale: 768px, scale-names: 'sm'));

I reckon the issues could be in your sass version or your build system.

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

No branches or pull requests

2 participants