Login
Remember
Register
References
Ranks
Add reference
Minify CSS in gulp
0
votes
232
views
added
Oct 30, 2017
in
Gulp
by
Callum
Sergeant
(
1,440
points)
recategorized
Nov 16, 2017
by
LC Marshal
Open gulpfile.js
Find the following line for your CSS task . e.g
gulp.
task
(
'css'
,
function
(){
Add the concat pipe in the source folder:
.
pipe
(
concat
(
'style.min.css'
))
css
gulp
npm
concat
mincss
Related reference
Gulp - clear css cache in html
Gulp - SCSS hierarchy for CSS compiling with gulp
Gulp - issue with 'Task function must be specified'
Gulp - gulpfile.js example
Gulp for multi scripts
Gulp - Workaround SCSS compiled for Vue Webpack 2
Complete guide to kickstart a new project with NPM-Gulp
'gulp' is not recognized as an internal or external command issue
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
All categories
API
(35)
React
(149)
Javascript
(100)
Next JS
(10)
jQuery
(176)
CSS
(141)
SCSS
(25)
UI design
(1)
Vue
(25)
JSX
(12)
ES6
(8)
Regex
(6)
PHP
(61)
mySQL
(9)
Drupal
(15)
Bootstrap
(22)
Repository
(38)
Software & tools
(38)
Google tools
(28)
Plugins
(13)
Gulp
(9)
NPM
(9)
Node JS
(7)
CMS
(9)
Command-line
(7)
Database
(2)
Domain & hosting
(16)
Elixir
(1)
HTML
(21)
Networking
(4)
Python
(0)
Server issues
(12)
VM & Remote desktop
(2)
VSCode
(6)
Windows
(10)
XSLT
(5)
General
(868)
...