refactor: move pwa/build-info -> appConfig (#1508)
This commit is contained in:
parent
1c9004a731
commit
415d36ce32
15 changed files with 27 additions and 18 deletions
|
@ -23,6 +23,7 @@ export default defineNuxtModule({
|
|||
'unstorage/drivers/fs': 'unenv/runtime/mock/proxy',
|
||||
'unstorage/drivers/cloudflare-kv-http': 'unenv/runtime/mock/proxy',
|
||||
'node:events': 'unenv/runtime/node/events/index',
|
||||
'#build-info': resolve('./runtime/build-info'),
|
||||
}
|
||||
|
||||
nuxt.hook('vite:extend', ({ config }) => {
|
||||
|
|
1
modules/tauri/runtime/build-info.ts
Normal file
1
modules/tauri/runtime/build-info.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export const env = useAppConfig().env
|
Loading…
Add table
Add a link
Reference in a new issue