Browse Source

disable sourcemap because of vuetify warnings

Olivier Massot 2 years ago
parent
commit
3558868d0a
1 changed files with 7 additions and 1 deletions
  1. 7 1
      nuxt.config.ts

+ 7 - 1
nuxt.config.ts

@@ -129,7 +129,13 @@ export default defineNuxtConfig({
                 protocol: 'wss',
                 port: 24678
             }
-        },
+        }
+    },
+    // Hide the sourcemaps warnings with vuetify
+    // @see https://github.com/vuetifyjs/vuetify-loader/issues/290#issuecomment-1435702713
+    sourcemap: {
+        server: false,
+        client: false,
     },
     i18n: {
         langDir: 'lang',