pull/1/head
yutent 2022-10-12 18:55:02 +08:00
parent 69029895f1
commit a4841af052
1 changed files with 8 additions and 0 deletions

View File

@ -72,6 +72,14 @@ export default function compile(root = '', dist = '', conf = {}) {
case '.bmp':
fs.cp(it.path, join(dist, it.name))
break
case 'scss':
case 'css':
{
let code = compileScss(it.path)
fs.echo(code, join(dist, it.name))
}
break
}
}
}