From a4841af05206d03f3767151cc8bc393eab549240 Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 12 Oct 2022 18:55:02 +0800 Subject: [PATCH] update --- lib/prod.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/prod.js b/lib/prod.js index ec54cb0..e999bc7 100644 --- a/lib/prod.js +++ b/lib/prod.js @@ -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 } } }