diff --git a/build.prod.js b/build.prod.js
index c134111..3489c8b 100644
--- a/build.prod.js
+++ b/build.prod.js
@@ -71,10 +71,12 @@ const compileJs = (entry, output) => {
// 编译样式
function compileScss(code = '') {
try {
- return scss.renderSync({
- data: BASE_SCSS + code,
- outputStyle: 'compressed'
- }).css
+ return (
+ scss.renderSync({
+ data: BASE_SCSS + code,
+ outputStyle: 'compressed'
+ }).css + ''
+ ).trim()
} catch (err) {
log(err)
}
diff --git a/src/markd/index.wc b/src/markd/index.wc
index 506f340..d5e0261 100644
--- a/src/markd/index.wc
+++ b/src/markd/index.wc
@@ -1,5 +1,5 @@
-
+