mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
test(dsh-plugin-browserskill): build the scoped css before vitest
The client entry imports the generated bsk-ui.nomodule.css; the file is gitignored, so a fresh CI checkout could not resolve it. Generate it as part of the test script.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
"scripts": {
|
||||
"build": "node scripts/build-client-css.mjs && tsdown",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest run",
|
||||
"test": "pnpm run build:css && vitest run",
|
||||
"build:css": "node scripts/build-client-css.mjs"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user