refactor(webapp): refactor branding diverse v2 (#8427)

* Set new 'config.resolve.alias'

* Set new alias 'compilerOptions.paths'
This commit is contained in:
Wolfgang Huß 2025-04-23 13:56:17 +02:00 committed by GitHub
parent c090db3866
commit e58efb1ce0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 2 deletions

View File

@ -3,11 +3,20 @@
"baseUrl": ".",
"paths": {
"~/*": [
"./*"
"*"
],
"~*": [
"*"
],
"~@": [
"*"
],
"@": [
"*"
],
"@@/*": [
"./*"
],
}
}
}
}

View File

@ -270,6 +270,9 @@ export default {
},
}
config.resolve.alias['~@'] = path.resolve(__dirname, '/')
config.resolve.alias['@@'] = path.resolve(__dirname, '/')
if (CONFIG.STYLEGUIDE_DEV) {
config.resolve.alias['@@'] = path.resolve(__dirname, `${styleguidePath}/src/system`)
config.module.rules.push({