Skip to content

Commit aca5fe1

Browse files
authored
Merge pull request #49 from danielroe/process-client
fix: opt in to `import.meta.*` properties
2 parents 82cee93 + b2d2415 commit aca5fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nuxt/src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default defineNuxtModule<ModuleOptions>({
9898
return `import { defineNuxtPlugin } from '#imports'
9999
100100
export default defineNuxtPlugin(async (nuxtApp) => {
101-
if (process.client) {
101+
if (import.meta.client) {
102102
const vueform = (await import('@vueform/vueform')).vueform
103103
const vueformConfig = (await import('${configPath}')).default
104104
const Builder = (await import('@vueform/builder')).default

0 commit comments

Comments
 (0)