Skip to content

Commit

Permalink
fix: build assets sequentially
Browse files Browse the repository at this point in the history
  • Loading branch information
luthfimasruri committed Mar 29, 2021
1 parent c84470d commit 5893d61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/vue-quill/src/assets/snow.styl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ backgroundColor = #fff
inactiveColor = #4B5563
shadowColor = #D1D5DB
textColor = #4B5563
// Additional color
// Additional colors
backgroundHoverColor = #F3F4F6
backgroundActiveColor = #DBEAFE

Expand Down
6 changes: 3 additions & 3 deletions scripts/buildAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ npm run assets:build -- vue-quill
if (isRelease && assets.private) return
if (!assets.css.length) return
console.log(
chalk.cyan(`\n>>>>>>>>>>>>>>>>>>>> BUILD ASSETS <<<<<<<<<<<<<<<<<<<<`)
chalk.cyan(`\n>>>>>>>>>>>>>>>>>>>> BUILD ASSETS <<<<<<<<<<<<<<<<<<<<\n`)
)

await assets.css.forEach(async (css: any) => {
for (const css of assets.css) {
const input = path.resolve(pkgDir, css.input)
const inputExt = path.extname(input)
const output = path.resolve(pkgDir, css.output)
Expand All @@ -78,7 +78,7 @@ npm run assets:build -- vue-quill
} else {
console.log(chalk.redBright(`File extention not supported: ${input}`))
}
})
}
}

function checkAllSizes(targets: string[]) {
Expand Down

0 comments on commit 5893d61

Please sign in to comment.