瀏覽代碼

Rollup error logs (#5289)

* Log errors in rollup build

* fix codacy
version-14
Faris Ansari 7 年之前
committed by GitHub
父節點
當前提交
6dfa272d62
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      rollup/build.js

+ 2
- 1
rollup/build.js 查看文件

@@ -50,7 +50,8 @@ function build_assets(app) {

function build(inputOptions, outputOptions) {
return rollup.rollup(inputOptions)
.then(bundle => bundle.write(outputOptions));
.then(bundle => bundle.write(outputOptions))
.catch(err => log(chalk.red(err)));
}

function build_libs() {


Loading…
取消
儲存