Skip to content

Commit 3b7da41

Browse files
committed
fix: npx stylus compilation
1 parent 5893d61 commit 3b7da41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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 colors
8+
// Additional color
99
backgroundHoverColor = #F3F4F6
1010
backgroundActiveColor = #DBEAFE
1111

scripts/buildAssets.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ npm run assets:build -- vue-quill
7272
)
7373

7474
if (inputExt === '.styl' || inputExt === '.css') {
75-
if (!prodOnly) await execa('stylus', [input, '-o', output], { stdio: 'inherit' })
75+
if (!prodOnly) await execa('npx', ['stylus', input, '-o', output], { stdio: 'inherit' })
7676
// create production build
77-
if (!devOnly) await execa('stylus', [input, '-o', outputProd, '-c'], { stdio: 'inherit' })
77+
if (!devOnly) await execa('npx', ['stylus', input, '-o', outputProd, '-c'], { stdio: 'inherit' })
7878
} else {
7979
console.log(chalk.redBright(`File extention not supported: ${input}`))
8080
}

0 commit comments

Comments
 (0)