mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add global.$config Vite definition
This commit is contained in:
parent
e5e927537e
commit
ab11d74bfd
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ export function makeViteDefinitions () {
|
|||
for ( const key in publicRuntimeConfig ) {
|
||||
definitions[`this.$config.${key}`] = JSON.stringify( publicRuntimeConfig[key] )
|
||||
definitions[`global.$config.${key}`] = JSON.stringify( publicRuntimeConfig[key] )
|
||||
definitions[`global.$config`] = JSON.stringify( publicRuntimeConfig )
|
||||
}
|
||||
|
||||
return definitions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue