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

wont compile and include all imported files #757

Closed
kumaresan-subramani opened this issue Jan 29, 2020 · 3 comments
Closed

wont compile and include all imported files #757

kumaresan-subramani opened this issue Jan 29, 2020 · 3 comments

Comments

@kumaresan-subramani
Copy link

kumaresan-subramani commented Jan 29, 2020

Below is my import statment

@import '../../node_modules/@syncfusion/ej2-angular-grids/styles/material.scss';

.checking {
    @import '../../node_modules/@syncfusion/ej2-angular-grids/styles/material-dark.scss';
}

my gulp task is like below:

gulp.task('styles', function () {
    sass.compiler = require('node-sass');
    return gulp.src("./check/*.scss")
        .pipe(sass({
            outputStyle: 'expanded',
            includePaths: ["./node_modules/@syncfusion/"]
        }))
        .pipe(sass.sync().on('error', sass.logError))
        .pipe(gulp.dest('./src/'));
});

when i compile, it wont generate all required class for 2nd import inside checking class

Sample - https://github.com/kumaresan-subramani/anguular-scss

To Run Sample -

  1. npm i
  2. gulp styles
  3. ng serve
@nitro404
Copy link

This sounds like an issue with https://github.com/sass/node-sass.

@kumaresan-subramani
Copy link
Author

Any reference ?

@XhmikosR
Copy link
Contributor

@xzyfer this one too.

(Sorry for the numerous CCs, trying to clean up the repo issues)

@xzyfer xzyfer closed this as completed Dec 29, 2021
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

4 participants