Skip to content

Commit 68c399d

Browse files
authored
fix: register pwa types properly (#165)
1 parent 5afa81f commit 68c399d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"prepack": "nuxt-module-build prepare && nuxt-module-build build && jiti scripts/postbuild.ts",
4646
"dev": "nuxi dev playground",
4747
"dev:multiple-json": "MULTIPLE_LANG_FILES=true nuxi dev playground",
48-
"dev:prepare": "nuxt-module-build --stub && nuxt-module-build prepare && nuxi prepare playground",
49-
"dev:prepare:multiple-json": "nuxt-module-build --stub && nuxt-module-build prepare && MULTIPLE_LANG_FILES=true nuxi prepare playground",
48+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
49+
"dev:prepare:multiple-json": "nuxt-module-build build --stub && nuxt-module-build prepare && MULTIPLE_LANG_FILES=true nuxi prepare playground",
5050
"dev:build": "nuxi build playground",
5151
"dev:generate": "nuxi generate playground",
5252
"dev:build:multiple-json": "MULTIPLE_LANG_FILES=true nuxi build playground",

src/utils/configure-nuxt.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ export function configureNuxt(
5050
references.push({ types: 'vuetify' })
5151
references.push({ types: 'vuetify-nuxt-module/custom-configuration' })
5252
references.push({ types: 'vuetify-nuxt-module/configuration' })
53-
const types = ctx.resolver.resolve(runtimeDir, 'plugins/types')
54-
references.push({ path: ctx.resolver.resolve(nuxt.options.buildDir, types) })
53+
references.push({ path: ctx.resolver.resolve(runtimeDir, 'plugins/types') })
5554
})
5655

5756
/* nuxt.hook('components:extend', async (c) => {

0 commit comments

Comments
 (0)