From 9bfcefbcbc00498e5b32e1c92b1cf8f97e0c1396 Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Thu, 3 Oct 2024 17:23:38 +0800 Subject: [PATCH] critical hotfix to correctly set ember-leaflet options to prevent duplicate import of leaflet-src --- config/environment.js | 8 +------- index.js | 5 +++++ package.json | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/config/environment.js b/config/environment.js index 8c26dbc..8d3218c 100644 --- a/config/environment.js +++ b/config/environment.js @@ -1,11 +1,5 @@ 'use strict'; module.exports = function (/* environment, appConfig */) { - return { - 'ember-leaflet': { - excludeCSS: true, - excludeJS: true, - excludeImages: true, - }, - }; + return {}; }; diff --git a/index.js b/index.js index 0fffe62..17b39d4 100644 --- a/index.js +++ b/index.js @@ -47,6 +47,11 @@ module.exports = { libphonenumber: 'intl-tel-input/build/js/utils.js', }, }, + 'ember-leaflet': { + excludeCSS: true, + excludeJS: true, + excludeImages: true, + }, postcssOptions, }, diff --git a/package.json b/package.json index a9ba17d..6bb81ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fleetbase/ember-ui", - "version": "0.2.33", + "version": "0.2.34", "description": "Fleetbase UI provides all the interface components, helpers, services and utilities for building a Fleetbase extension into the Console.", "keywords": [ "fleetbase-ui",