Skip to content

Commit 5893d61

Browse files
committed
fix: build assets sequentially
1 parent c84470d commit 5893d61

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/vue-quill/src/assets/snow.styl

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ backgroundColor = #fff
55
inactiveColor = #4B5563
66
shadowColor = #D1D5DB
77
textColor = #4B5563
8-
// Additional color
8+
// Additional colors
99
backgroundHoverColor = #F3F4F6
1010
backgroundActiveColor = #DBEAFE
1111

scripts/buildAssets.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ npm run assets:build -- vue-quill
5858
if (isRelease && assets.private) return
5959
if (!assets.css.length) return
6060
console.log(
61-
chalk.cyan(`\n>>>>>>>>>>>>>>>>>>>> BUILD ASSETS <<<<<<<<<<<<<<<<<<<<`)
61+
chalk.cyan(`\n>>>>>>>>>>>>>>>>>>>> BUILD ASSETS <<<<<<<<<<<<<<<<<<<<\n`)
6262
)
6363

64-
await assets.css.forEach(async (css: any) => {
64+
for (const css of assets.css) {
6565
const input = path.resolve(pkgDir, css.input)
6666
const inputExt = path.extname(input)
6767
const output = path.resolve(pkgDir, css.output)
@@ -78,7 +78,7 @@ npm run assets:build -- vue-quill
7878
} else {
7979
console.log(chalk.redBright(`File extention not supported: ${input}`))
8080
}
81-
})
81+
}
8282
}
8383

8484
function checkAllSizes(targets: string[]) {

0 commit comments

Comments
 (0)