mirror of
https://github.com/kognise/water.css.git
synced 2025-12-08 07:45:02 +01:00
COmpress output
This commit is contained in:
parent
bfd619e330
commit
2b900b7e66
4 changed files with 4 additions and 196 deletions
2
dev.js
2
dev.js
|
|
@ -35,7 +35,7 @@ chokidar.watch('index.html', { ignoreInitial: true }).on('all', () => {
|
|||
|
||||
chokidar.watch('src/*.scss', { ignoreInitial: true }).on('all', async (event, file) => {
|
||||
console.log('> Stylesheet changed')
|
||||
sass.render({ file }, async (errors, { css }) => {
|
||||
sass.render({ file, outputStyle: 'compressed' }, async (errors, { css }) => {
|
||||
if (errors) {
|
||||
console.log('> Sass errors!')
|
||||
console.log(errors)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue