refactor: inject pwa client plugin from module (#1758)

This commit is contained in:
Daniel Roe 2023-02-16 09:23:26 +00:00 committed by GitHub
parent 523578ba7b
commit 436489461c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 28 additions and 7 deletions

View file

@ -133,6 +133,9 @@ export default defineNuxtConfig({
},
sourcemap: isDevelopment,
hooks: {
'prepare:types': function ({ references }) {
references.push({ types: '@types/wicg-file-system-access' })
},
'nitro:config': function (config) {
const nuxt = useNuxt()
config.virtual = config.virtual || {}