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 compatible with SASS? #93

Open
Jesusjeco opened this issue Nov 28, 2023 · 0 comments
Open

Not compatible with SASS? #93

Jesusjeco opened this issue Nov 28, 2023 · 0 comments

Comments

@Jesusjeco
Copy link

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"
},

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

1 participant