You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure I understand the problem, but if you want main.css to not have the content of block/base and block/header – instead use CSS import to load CSS in the browser – then in main.sass:
How to include separate css without file concatenation(copying/grouping) properties)?
Structure
folder src
folder sass
folder block
base.sass
header.sass
main.sass
main.sass
@import block/base
@import block/header
./public/...
converted to main.css
@import 'block/base.css'
@import 'block/header.css'
and folter block
gulpfile.js
const scss = () => {
return src('./src/sass/**/*.sass')
.pipe(sass())
.pipe(dest('./public/css/'))
.pipe(browserSync.stream())
}
The text was updated successfully, but these errors were encountered: