I've been attempting to convert SCSS to CSS, and here's the code I've been working with.
const gulp = require('gulp');
const sass = require('gulp-sass');
gulp.task('sass', function() {
return gulp.src('app/scss/styles.scss')
.pipe(sass())
.pipe(gulp.dest('app/css'));
});
There are no errors displayed, but for some reason, it's not functioning as expected.
[05:12:54] Using gulpfile ~/Desktop/Project/gulpfile.js
[05:12:54] Starting 'sass'...
[05:12:54] Finished 'sass' after 13 ms
Here is my SCSS file; perhaps this could provide some insight:
.lol {
width: percentage(100/2);
}
Workspace. Any assistance would be greatly appreciated!