chore: simplify theme imports in dev (#3851)

This commit is contained in:
Sandro Circi
2025-04-10 15:59:04 +02:00
committed by GitHub
parent 8c68af5e3b
commit fb4c210b41
3 changed files with 8 additions and 6 deletions

View File

@@ -10,7 +10,8 @@ export default defineBuildConfig({
replace: {
delimiters: ['', ''],
values: {
'process.argv.at(-1) === \'--uiDev\'': 'false'
// Used in development to import directly from theme
'const isUiDev = true': 'const isUiDev = false'
}
}
},