diff --git a/build/rollup/build-component.rollup.js b/build/rollup/build-component.rollup.js index 3c2c3cd8a..8636526f8 100644 --- a/build/rollup/build-component.rollup.js +++ b/build/rollup/build-component.rollup.js @@ -130,7 +130,8 @@ function compileVueAndReplace(filePath) { fs.writeFileAsync(jsFilePath, result) .then(() => fs.writeFileAsync(cssFilePath, styleContent)) .then(() => { - return fs.unlinkAsync(filePath) + fs.unlinkAsync(filePath) + resolve() }) }) })