Skip to content

Commit

Permalink
critical hotfix to correctly set ember-leaflet options to prevent dup…
Browse files Browse the repository at this point in the history
…licate import of leaflet-src
  • Loading branch information
roncodes committed Oct 3, 2024
1 parent a5573d3 commit 9bfcefb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 1 addition & 7 deletions config/environment.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
'use strict';

module.exports = function (/* environment, appConfig */) {
return {
'ember-leaflet': {
excludeCSS: true,
excludeJS: true,
excludeImages: true,
},
};
return {};
};
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ module.exports = {
libphonenumber: 'intl-tel-input/build/js/utils.js',
},
},
'ember-leaflet': {
excludeCSS: true,
excludeJS: true,
excludeImages: true,
},
postcssOptions,
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 9bfcefb

Please sign in to comment.