chore: run test suite on windows (#3479)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Sandro Circi
2025-04-10 11:41:23 +02:00
committed by GitHub
parent 81b46ab880
commit 8c68af5e3b
6 changed files with 16 additions and 9 deletions

View File

@@ -50,7 +50,7 @@ export function getTemplates(options: ModuleOptions, uiConfig: Record<string, an
}
// For local development, import directly from theme
if (process.env.DEV) {
if (process.argv.at(-1) === '--uiDev') {
const templatePath = fileURLToPath(new URL(`./theme/${kebabCase(component)}`, import.meta.url))
return [
`import template from ${JSON.stringify(templatePath)}`,