SCSS: concatenated files, but not compiled
I am looking for an easy way to concat scss files (containing imports) into one scss file ,
don't compile , but concat .
More details: Our SCSS is compiled on the fly based on variables from the database, so it cannot be compiled before deployment. But I would still like to do some optimizations to help the server compiler - merge many files into one.
+3
source to share
1 answer
How about using grunt-contrib-concat
only concat , as you mentioned:
concat: {
dist: {
src: [
'sass/*.scss',
],
dest: 'sass/build.scss',
}
}
ref: https://github.com/gruntjs/grunt-contrib-concat#concat-task
+1
source to share