We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I followed the example, but after compiling all the files are empty, except one (for some reason).
Folders: ./STYLE -ColorProfile.scss -Functions.scss -FunctionsUtility.scss -MapsAndList.scss -Media.scss -Mixin.scss ./STYLE/Layout -Flex.scss -Mixin.scss
Files.zip
All files are connected.
gulpfile.js:
'use strict'; var gulp = require('gulp'); var sassInheritance = require('gulp-sass-inheritance'); var sass = require('gulp-sass'); var cached = require('gulp-cached'); var gulpif = require('gulp-if'); var filter = require('gulp-filter'); function styleChanged () { return gulp.src("./STYLE/**/*.scss") .pipe(gulpif(global.isWatching, cached("sass"))) .pipe(sassInheritance({dir: "./STYLE/"})) .pipe(filter(function (file) { return !/\/_/.test(file.path) || !/^_/.test(file.relative); })) .pipe(sass()) .pipe(gulp.dest("./_Build/STYLE")); }; function doWatch () { global.isWatching = true; gulp.watch("./STYLE/**/*.scss", styleChanged); }; exports.default = doWatch; exports.styleChanged = styleChanged;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I followed the example, but after compiling all the files are empty, except one (for some reason).
Folders:
./STYLE
-ColorProfile.scss
-Functions.scss
-FunctionsUtility.scss
-MapsAndList.scss
-Media.scss
-Mixin.scss
./STYLE/Layout
-Flex.scss
-Mixin.scss
Files.zip
All files are connected.
gulpfile.js:
The text was updated successfully, but these errors were encountered: