From 4b661b9fabbd8cbb228862514db2c0ccfc2111a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Viricel?= Date: Wed, 10 Jan 2024 17:08:05 +0100 Subject: [PATCH] fix: transpile maplibre-gl --- nuxt.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index ae602ca61..02296587d 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -132,6 +132,7 @@ export default defineNuxtConfig({ // Build Configuration (https://go.nuxtjs.dev/config-build) build: { transpile: [ + 'maplibre-gl', 'iron-webcrypto', 'punycode', 'pinia', @@ -139,7 +140,6 @@ export default defineNuxtConfig({ 'date-fns', /lodash.*/, '@fortawesome/vue-fontawesome', - // ...(process.dev ? [] : ['maplibre-gl']), // What the hell, maplibre-gl ], },