Skip to content

Not compatible with SASS? #93

@Jesusjeco

Description

@Jesusjeco

After using the function cleanCSS() my styles break apart. Suddnely the default styles of the browser were the main priority.

After I remove the function, everything went back to normal.

This is my code in the gulpfile.js

function runSASS(cb) {
cb();
return src("src/scss/style.scss")
.pipe(sass().on("error", sass.logError))
.pipe(cleanCSS())
.pipe(dest("dist/css/"));
} //runSASS

And this is my package.js AFTER Iremoved the gulp-clean-css

"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-imagemin": "7.1.0",
"gulp-sass": "^5.1.0",
"gulp-uglify": "^3.0.2",
"sass": "^1.69.5"
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions