From 647c9484b54a6e790b4ba2d82adf1c6631dde3c7 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 25 Mar 2024 16:32:44 +0000 Subject: [PATCH] fix: opt in to `import.meta.*` properties --- src/runtime/plugin.client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/plugin.client.ts b/src/runtime/plugin.client.ts index cfcf32c..c44cddc 100644 --- a/src/runtime/plugin.client.ts +++ b/src/runtime/plugin.client.ts @@ -3,7 +3,7 @@ import { ref } from 'vue'; import { initWideAngle } from 'wideangle-vuejs'; export default defineNuxtPlugin(() => { - if(process.server) { + if(import.meta.server) { console.warn("[WAA] Plugin will not be enabled on server side."); return; }