Skip to content

Commit 07a9cc8

Browse files
committed
merge PR vuejs#227
1 parent 7521d0c commit 07a9cc8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/compiler.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ compiler.compile = function (content, filePath, cb) {
8686
].concat(parts.styles.map(function (style) {
8787
return processStyle(style, filePath, id, resolvedParts)
8888
})))
89-
.then(mergeParts)
90-
.catch(cb)
89+
.then(mergeParts)
90+
.catch(cb)
9191

9292
function mergeParts () {
9393
// check whether script/template has changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/extract-css.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = function (b, opts) {
1818
outPath.write(css)
1919
outPath.end()
2020
} else if (typeof outPath === 'string') {
21-
fs.writeFile(outPath, css, function () {})
21+
fs.writeFileSync(outPath, css)
2222
}
2323
})
2424
})

0 commit comments

Comments
 (0)