Gulp Sass minification #2535
Unanswered
muhammadhassanarshad
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have designed a gulp structure for my project to minify css and uglify js files. The task function I created for my scss files, when I run the gulp scssTask, what it does is compiles all the .scss files of my project and creates and a .min file in the dist folder. But if I have a project with multiple scss files of the multiple html pages of the same project in the source folder nested in multiple folders. What I want is gulp to just minify the scss file consisting the code for just this page minified not the scss files of the whole project.
Suppose I am on the home page of the project, I want to just minify the scss files of this page but not the scss files of the other pages. How am I supposed to do this.
Beta Was this translation helpful? Give feedback.
All reactions