Фронт на Vue/Nuxt 3. Добавил библиотеку vue-yandex-maps. В режиме разработки проблем нет, в консоле всё ок. А билд сделать не получается - ERROR "yandexMap" is not exported by "node_modules/vue-yandex-maps/dist/vue-yandex-maps.umd.js"
Мой package.json
{
"name": "nuxt-app",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"analyze": "nuxt build --modern=client --analyze"
},
"devDependencies": {
"@nuxt/image": "^1.6.0",
"@types/node": "^18",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"@vue/eslint-config-standard": "^8.0.1",
"eslint": "^8.40.0",
"eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-vue": "^9.11.1",
"nuxt": "^3.7.0",
"sass": "^1.62.1",
"sass-loader": "^13.2.2"
},
"dependencies": {
"@pinia/nuxt": "^0.5.1",
"firebase-admin": "^12.1.0",
"maska": "^2.1.11",
"pinia": "^2.1.7",
"swiper": "^10.3.0",
"vue-yandex-maps": "^1.1.0"
},
"overrides": {
"vue": "latest"
}
}