Skip to content

Commit

Permalink
fix: 修复 windows 系统 node20 环境下样式文件打包失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangeSuger committed Oct 19, 2024
1 parent a9a28cf commit 0a8844d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-less
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function compile(source, target) {
if (os.type() === 'Windows_NT') {
cmd = path.join(cwd, `${cmd}.cmd`)
}
cp.execFileSync(cmd, [source, target])
cp.execFileSync(cmd, [source, target], { shell: true })
}

function toCSSPath(source) {
Expand Down

0 comments on commit 0a8844d

Please sign in to comment.