Skip to content

Commit f37c8cb

Browse files
committed
fix: fix logic in condition
1 parent 85d0b07 commit f37c8cb

File tree

4 files changed

+243
-5
lines changed

4 files changed

+243
-5
lines changed

packages/build-tools/create-webpack-config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,9 @@ async function createWebpackConfig(buildConfig) {
164164
}
165165
});
166166

167-
const useHotMiddleware =
168-
Array.isArray(fullBuildConfig.lang) && fullBuildConfig.lang.length > 1;
167+
const useHotMiddleware = !(
168+
Array.isArray(fullBuildConfig.lang) && fullBuildConfig.lang.length > 1
169+
);
169170

170171
if (!config.prod && config.webpackDevServer && useHotMiddleware) {
171172
entry[globalEntryName].push(

packages/components/bolt-icon/icon.schema.json

Lines changed: 117 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,127 +15,243 @@
1515
"description": "Icon name.",
1616
"enum": [
1717
"academy",
18+
"academy.min",
1819
"add-open",
20+
"add-open.min",
1921
"add-solid",
22+
"add-solid.min",
2023
"agile",
24+
"agile.min",
2125
"app-development",
26+
"app-development.min",
2227
"app-exchange",
28+
"app-exchange.min",
2329
"arrow-left",
30+
"arrow-left.min",
2431
"asset-data",
32+
"asset-data.min",
2533
"asset-infographic",
34+
"asset-infographic.min",
2635
"asset-interactive",
36+
"asset-interactive.min",
2737
"asset-link",
38+
"asset-link.min",
2839
"asset-media",
40+
"asset-media.min",
2941
"asset-podcast",
42+
"asset-podcast.min",
3043
"asset-presentation",
44+
"asset-presentation.min",
3145
"asset-text",
46+
"asset-text.min",
3247
"asset-video",
48+
"asset-video.min",
3349
"bolt-logo-colored",
50+
"bolt-logo-colored.min",
3451
"brand-operations",
52+
"brand-operations.min",
3553
"calendar",
54+
"calendar.min",
3655
"careers",
56+
"careers.min",
3757
"case-management",
58+
"case-management.min",
3859
"chart-bar",
3960
"check",
4061
"check-circle",
62+
"check-circle.min",
4163
"check-solid",
64+
"check-solid.min",
65+
"check.min",
4266
"chevron-down",
67+
"chevron-down.min",
4368
"chevron-left",
69+
"chevron-left.min",
4470
"chevron-right",
71+
"chevron-right.min",
4572
"chevron-up",
73+
"chevron-up.min",
4674
"close",
4775
"close-circled",
4876
"close-open",
77+
"close-open.min",
4978
"close-solid",
79+
"close-solid.min",
80+
"close.min",
5081
"cloud",
82+
"cloud.min",
5183
"co-browse",
84+
"co-browse.min",
5285
"communications",
86+
"communications.min",
5387
"copy-to-clipboard",
88+
"copy-to-clipboard.min",
5489
"credit-card",
5590
"customer-decision-hub",
91+
"customer-decision-hub.min",
5692
"customer-onboarding",
93+
"customer-onboarding.min",
5794
"customer-service",
95+
"customer-service.min",
5896
"data-integrations",
97+
"data-integrations.min",
5998
"documentation",
99+
"documentation.min",
60100
"download",
101+
"download.min",
61102
"email",
103+
"email.min",
62104
"energy",
105+
"energy.min",
63106
"entertainment",
107+
"entertainment.min",
64108
"exclamation",
65109
"exit-full-screen",
110+
"exit-full-screen.min",
66111
"external-link",
112+
"external-link.min",
67113
"eye",
68114
"eye-off",
115+
"eye-off.min",
116+
"eye.min",
69117
"face-happy",
70118
"face-sad",
71119
"facebook",
72120
"facebook-solid",
121+
"facebook-solid.min",
122+
"facebook.min",
73123
"field-service",
74124
"field-service-gray",
125+
"field-service-gray.min",
126+
"field-service.min",
75127
"filter",
128+
"filter.min",
76129
"financial",
130+
"financial.min",
77131
"full-screen",
132+
"full-screen.min",
78133
"github",
134+
"github.min",
79135
"global",
136+
"global.min",
80137
"government",
138+
"government.min",
81139
"healthcare",
140+
"healthcare.min",
82141
"hospitality",
142+
"hospitality.min",
83143
"industries",
144+
"industries.min",
84145
"info-open",
146+
"info-open.min",
85147
"info-solid",
148+
"info-solid.min",
86149
"insurance",
150+
"insurance.min",
87151
"integration",
152+
"integration.min",
88153
"intelligent-virtual-assistant",
154+
"intelligent-virtual-assistant.min",
89155
"java",
156+
"java.min",
90157
"knowledgebase",
158+
"knowledgebase.min",
91159
"launchpad",
160+
"launchpad.min",
92161
"life-sciences",
162+
"life-sciences.min",
93163
"linkedin",
94164
"linkedin-solid",
165+
"linkedin-solid.min",
166+
"linkedin.min",
95167
"lock",
168+
"lock.min",
96169
"manufacturing",
170+
"manufacturing.min",
97171
"map-pin",
98172
"map-pin-solid",
173+
"map-pin-solid.min",
174+
"map-pin.min",
99175
"marketing",
100176
"marketing-gray",
177+
"marketing-gray.min",
178+
"marketing.min",
101179
"menu",
180+
"menu.min",
102181
"minus-open",
182+
"minus-open.min",
103183
"minus-solid",
184+
"minus-solid.min",
104185
"mobility",
186+
"mobility.min",
105187
"more",
188+
"more.min",
106189
"omni-channel",
190+
"omni-channel.min",
107191
"partners",
192+
"partners.min",
108193
"pencil",
194+
"pencil.min",
109195
"platform",
196+
"platform.min",
110197
"podcast",
198+
"podcast.min",
111199
"print",
200+
"print.min",
112201
"product",
113202
"product-delivery",
203+
"product-delivery.min",
204+
"product.min",
114205
"refresh",
206+
"refresh.min",
115207
"reporting",
208+
"reporting.min",
116209
"retail",
210+
"retail.min",
117211
"robo-auto",
212+
"robo-auto.min",
118213
"sales-automation",
214+
"sales-automation.min",
119215
"scalability",
216+
"scalability.min",
120217
"search",
218+
"search.min",
121219
"share",
220+
"share.min",
122221
"star-solid",
222+
"star-solid.min",
123223
"support",
224+
"support.min",
124225
"system-admin",
226+
"system-admin.min",
125227
"training",
228+
"training.min",
126229
"transportation",
230+
"transportation.min",
127231
"twitter",
128232
"twitter-solid",
233+
"twitter-solid.min",
234+
"twitter.min",
129235
"unlock",
236+
"unlock.min",
130237
"upload",
238+
"upload.min",
131239
"user",
132240
"user-interface",
241+
"user-interface.min",
242+
"user.min",
133243
"video",
244+
"video.min",
134245
"vision",
246+
"vision.min",
135247
"warning",
248+
"warning.min",
136249
"watch",
250+
"watch.min",
137251
"workforce-intelligence",
138-
"youtube-solid"
252+
"workforce-intelligence.min",
253+
"youtube-solid",
254+
"youtube-solid.min"
139255
]
140256
},
141257
"background": {

0 commit comments

Comments
 (0)