fix: opt in to import.meta.*
properties
This commit is contained in:
parent
d6b11afd2d
commit
647c9484b5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue