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
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" },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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"
},
The text was updated successfully, but these errors were encountered: