Skip to content

Commit d213371

Browse files
committed
fix: keep pwa types out of type-checking step
1 parent b383d25 commit d213371

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

nuxt.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
export default defineNuxtConfig({
22
modules: [
3+
function (_, nuxt) {
4+
if (nuxt.options._prepare) {
5+
nuxt.options.pwa ||= {}
6+
nuxt.options.pwa.pwaAssets ||= {}
7+
nuxt.options.pwa.pwaAssets.disabled = true
8+
}
9+
},
310
'@unocss/nuxt',
411
'@nuxt/eslint',
512
'@nuxtjs/html-validator',

0 commit comments

Comments
 (0)