@@ -84,14 +84,23 @@ public static List<String> getExcludedUrls(Environment environment) {
84
84
/**
85
85
* Devmode configuration options.
86
86
*/
87
-
88
87
private Devmode devmode = new Devmode ();
89
88
90
89
/**
91
90
* Pnpm configuration options.
92
91
**/
93
92
private Pnpm pnpm = new Pnpm ();
94
93
94
+ /**
95
+ * Bun configuration options.
96
+ **/
97
+ private Bun bun = new Bun ();
98
+
99
+ /**
100
+ * React configuration options.
101
+ **/
102
+ private React react = new React ();
103
+
95
104
/**
96
105
* Frontend configuration options.
97
106
**/
@@ -164,7 +173,7 @@ public boolean isEnable() {
164
173
}
165
174
166
175
/**
167
- * Enables/disabled pnp support.
176
+ * Enables/disabled pnpm support.
168
177
*
169
178
* @param enable
170
179
* if {@code true} then pnpm support is enabled, otherwise
@@ -177,6 +186,60 @@ public void setEnable(boolean enable) {
177
186
178
187
}
179
188
189
+ public static class Bun {
190
+
191
+ private boolean enable ;
192
+
193
+ /**
194
+ * Returns if bun support is enabled.
195
+ *
196
+ * @return if bun is enabled
197
+ */
198
+ public boolean isEnable () {
199
+ return enable ;
200
+ }
201
+
202
+ /**
203
+ * Enables/disabled bun support.
204
+ *
205
+ * @param enable
206
+ * if {@code true} then bun support is enabled, otherwise
207
+ * it's disabled
208
+ *
209
+ */
210
+ public void setEnable (boolean enable ) {
211
+ this .enable = enable ;
212
+ }
213
+
214
+ }
215
+
216
+ public static class React {
217
+
218
+ private boolean enable = true ;
219
+
220
+ /**
221
+ * Returns if react support is enabled.
222
+ *
223
+ * @return if react is enabled
224
+ */
225
+ public boolean isEnable () {
226
+ return enable ;
227
+ }
228
+
229
+ /**
230
+ * Enables/disabled react support.
231
+ *
232
+ * @param enable
233
+ * if {@code true} then react support is enabled, otherwise
234
+ * it's disabled
235
+ *
236
+ */
237
+ public void setEnable (boolean enable ) {
238
+ this .enable = enable ;
239
+ }
240
+
241
+ }
242
+
180
243
public static class Devmode {
181
244
/**
182
245
* A comma separated list of IP addresses, potentially with wildcards,
@@ -484,6 +547,24 @@ public Pnpm getPnpm() {
484
547
return pnpm ;
485
548
}
486
549
550
+ /**
551
+ * Gets the bun specific configuration.
552
+ *
553
+ * @return the bun configuration
554
+ */
555
+ public Bun getBun () {
556
+ return bun ;
557
+ }
558
+
559
+ /**
560
+ * Gets the react specific configuration.
561
+ *
562
+ * @return the react configuration
563
+ */
564
+ public React getReact () {
565
+ return react ;
566
+ }
567
+
487
568
/**
488
569
* Gets the frontend specific configuration.
489
570
*
0 commit comments