File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
src/instance-initializers Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @hashicorp/design-system-components " : major
3+ ---
4+
5+ Removed support for deprecated ` ember-flight-icons ` ` lazyEmbed ` config
Original file line number Diff line number Diff line change @@ -9,11 +9,8 @@ const flightIconSprite = require('@hashicorp/flight-icons/svg-sprite/svg-sprite-
99module . exports = {
1010 ...addonV1Shim ( __dirname ) ,
1111 contentFor ( type , config ) {
12- const legacyLazyEmbed = config ?. emberFlightIcons ?. lazyEmbed ;
13-
1412 if (
1513 ! config . flightIconsSpriteLazyEmbed &&
16- ! legacyLazyEmbed &&
1714 ! config . __flightIconsSpriteLoaded &&
1815 type === 'body-footer'
1916 ) {
Original file line number Diff line number Diff line change 66import config from 'ember-get-config' ;
77
88export async function initialize ( ) {
9- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment
10- const legacyLazyEmbed = config ?. emberFlightIcons ?. lazyEmbed ;
11-
129 // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
13- if ( config ?. flightIconsSpriteLazyEmbed || legacyLazyEmbed ) {
10+ if ( config ?. flightIconsSpriteLazyEmbed ) {
1411 const { default : svgSprite } = await import (
1512 '@hashicorp/flight-icons/svg-sprite/svg-sprite-module'
1613 ) ;
You can’t perform that action at this time.
0 commit comments