forked from integer-net/magento2-requirejs-bundling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirejs-bundle-config.js
765 lines (762 loc) · 33.1 KB
/
requirejs-bundle-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
// AUTOGENERATED CONFIGURATION
// Full config reference:
// https://github.com/requirejs/r.js/blob/b8a6982/build/example.build.js
({
// Set "optimize" to "none" to speed up bundling while debugging
"optimize": "none",
"generateSourceMaps": true,
"wrapShim": true,
"inlineText": true,
"modules": [
{
name: "requirejs/require",
include: [
"mage/common",
"jquery/jquery.cookie",
"jquery/jquery-storageapi",
],
exclude: [
]
},
{
// Modules used on > 1 page(s) of the store
"name": "bundles/shared",
"include": [
"jquery",
"jquery/jquery-migrate",
"domReady",
"mage/ie-class-fixer",
"jquery/patches/jquery",
"jquery/jquery.mobile.custom",
"jquery/jquery.cookie",
"mage/smart-keyboard-handler",
"jquery-ui-modules/widget",
"matchMedia",
"underscore",
"mage/template",
"jquery-ui-modules/core",
"jquery/jquery-storageapi",
"mage/apply/scripts",
"mage/apply/main",
"mage/mage",
"mage/translate",
"mage/collapsible",
"mage/tabs",
"jquery-ui-modules/button",
"jquery-ui-modules/position",
"knockoutjs/knockout",
"knockoutjs/knockout-es5",
"Magento_Ui/js/lib/knockout/extender/observable_array",
"Magento_Ui/js/lib/key-codes",
"jquery-ui-modules/mouse",
"jquery-ui-modules/draggable",
"jquery-ui-modules/resizable",
"jquery-ui-modules/dialog",
"mage/translate-inline",
"text!ui/template/modal/modal-popup.html",
"text!ui/template/modal/modal-slide.html",
"text!ui/template/modal/modal-custom.html",
"Magento_Ui/js/modal/modal",
"Magento_Ui/js/modal/confirm",
"mage/dataPost",
"knockoutjs/knockout-repeat",
"knockoutjs/knockout-fast-foreach",
"mage/utils/wrapper",
"es6-collections",
"Magento_Ui/js/lib/core/events",
"Magento_Ui/js/lib/knockout/extender/bound-nodes",
"Magento_Ui/js/lib/knockout/bindings/mage-init",
"Magento_Ui/js/lib/knockout/bindings/fadeVisible",
"text!ui/template/tooltip/tooltip.html",
"Magento_Ui/js/lib/knockout/template/loader",
"Magento_Ui/js/lib/knockout/template/renderer",
"Magento_Ui/js/lib/knockout/bindings/i18n",
"Magento_Ui/js/lib/knockout/bindings/keyboard",
"Magento_Ui/js/lib/knockout/bindings/after-render",
"Magento_Ui/js/lib/knockout/bindings/autoselect",
"Magento_Ui/js/lib/knockout/bindings/outer_click",
"Magento_Ui/js/lib/knockout/bindings/collapsible",
"Magento_Ui/js/lib/knockout/bindings/staticChecked",
"Magento_Ui/js/lib/knockout/bindings/simple-checked",
"Magento_Ui/js/lib/knockout/bindings/bind-html",
"Magento_Ui/js/lib/knockout/bindings/tooltip",
"tinycolor",
"Magento_Ui/js/lib/registry/registry",
"jquery-ui-modules/slider",
"Magento_Ui/js/lib/knockout/bindings/range",
"spectrum",
"Magento_Ui/js/lib/knockout/bindings/color-picker",
"Magento_Ui/js/lib/logger/levels-pool",
"Magento_Ui/js/lib/logger/logger",
"Magento_Ui/js/lib/logger/console-output-handler",
"Magento_Ui/js/lib/logger/message-pool",
"Magento_Ui/js/lib/logger/logger-utils",
"jquery-ui-modules/datepicker",
"moment",
"Magento_Ui/js/lib/view/utils/bindings",
"jquery-ui-modules/timepicker",
"mage/calendar",
"mage/utils/objects",
"mage/utils/compare",
"mage/utils/strings",
"mage/utils/arrays",
"mage/utils/template",
"Magento_Ui/js/lib/logger/formatter",
"Magento_Ui/js/lib/logger/entry",
"Magento_Ui/js/lib/logger/entry-factory",
"MutationObserver",
"FormData",
"mage/utils/misc",
"mage/utils/main",
"Magento_Ui/js/lib/knockout/bindings/optgroup",
"Magento_Ui/js/lib/knockout/bindings/datepicker",
"Magento_Ui/js/lib/core/class",
"Magento_Ui/js/lib/knockout/template/observable_source",
"Magento_Ui/js/lib/core/storage/local",
"Magento_Ui/js/lib/logger/console-logger",
"Magento_Ui/js/lib/knockout/template/engine",
"Magento_Ui/js/lib/knockout/bindings/scope",
"domReady!",
"Magento_Theme/js/responsive",
"Magento_Theme/js/theme",
"mage/common",
"Magento_Ui/js/lib/view/utils/dom-observer",
"Magento_Ui/js/lib/view/utils/async",
"Magento_Ui/js/lib/knockout/bindings/resizable",
"Magento_Ui/js/lib/knockout/bindings/bootstrap",
"Magento_Ui/js/lib/knockout/bootstrap",
"mage/bootstrap",
"mage/loader",
"mage/dropdown",
"Magento_Search/js/form-mini",
"mage/cookies",
"Magento_PageCache/js/page-cache",
"Magento_Ui/js/block-loader",
"Magento_Customer/js/section-config",
"mage/trim-input",
"Magento_Persistent/js/view/customer-data-mixin",
"jquery-ui-modules/menu",
"mage/menu",
"text!ui/template/block-loader.html",
"Magento_Catalog/js/price-utils",
"Magento_Catalog/js/price-box",
"jquery/jquery.parsequery",
"Magento_Ui/js/core/renderer/types",
"Magento_Ui/js/core/renderer/layout",
"Magento_Ui/js/core/app",
"mage/url",
"mage/storage",
"Magento_Customer/js/customer-data",
"Magento_Ui/js/lib/core/element/links",
"Magento_Ui/js/lib/core/element/element",
"Magento_Customer/js/invalidation-processor",
"Magento_Ui/js/lib/core/collection",
"Magento_Catalog/js/view/image",
"jquery/jquery.metadata",
"jquery/validate",
"mage/validation",
"mage/validation/validation",
"Magento_Swatches/js/swatch-renderer",
"Magento_Customer/js/view/customer",
"Magento_Theme/js/view/messages",
"Magento_Customer/js/invalidation-rules/website-rule",
"Magento_Tax/js/view/checkout/minicart/subtotal/totals",
"Magento_Msrp/js/view/checkout/minicart/subtotal/totals",
"mage/decorate",
"Magento_Catalog/js/view/compare-products",
"Magento_Customer/js/model/authentication-popup",
"Magento_Ui/js/modal/alert",
"MSP_ReCaptcha/js/registry",
"MSP_ReCaptcha/js/ui-messages-mixin",
"Magento_Ui/js/lib/spinner",
"Magento_Captcha/js/model/captchaList",
"Magento_Catalog/js/product/storage/ids-storage",
"Magento_Catalog/js/product/storage/ids-storage-compare",
"mage/requirejs/resolver",
"jquery-ui-modules/effect",
"jquery-ui-modules/effect-blind",
"jquery-ui-modules/effect-fade",
"Magento_Checkout/js/sidebar",
"Magento_Checkout/js/view/minicart",
"Magento_Catalog/js/product/query-builder",
"Magento_Catalog/js/product/storage/data-storage",
"Magento_Catalog/js/product/storage/storage-service",
"Magento_Catalog/js/storage-manager",
"Magento_Ui/js/form/adapter/buttons",
"Magento_Ui/js/form/adapter",
"Magento_Ui/js/form/form",
"Magento_Ui/js/model/messages",
"Magento_Ui/js/model/messageList",
"Magento_Ui/js/view/messages",
"Magento_Customer/js/action/login",
"Magento_Customer/js/view/authentication-popup",
"text!Magento_Checkout/template/minicart/content.html",
"text!Magento_Customer/template/authentication-popup.html",
"Magento_Captcha/js/action/refresh",
"Magento_Captcha/js/model/captcha",
"Magento_Captcha/js/view/checkout/defaultCaptcha",
"Magento_Captcha/js/view/checkout/loginCaptcha",
"text!Magento_Ui/template/messages.html",
"text!Magento_Captcha/template/checkout/captcha.html",
"Magento_Wishlist/js/add-to-wishlist",
"Magento_Cookie/js/require-cookie",
"Magento_Catalog/js/product/view/product-ids",
"Magento_Catalog/js/product/view/product-ids-resolver",
"Magento_Catalog/js/catalog-add-to-cart",
"text!ui/template/collection.html",
"text!Magento_Checkout/template/minicart/item/default.html",
"text!Magento_Checkout/template/minicart/subtotal.html",
"text!Magento_Catalog/template/product/image_with_borders.html",
"text!Magento_Checkout/template/minicart/item/price.html",
"text!Magento_Tax/template/checkout/minicart/subtotal/totals.html",
"Magento_Checkout/js/model/shipping-rates-validation-rules",
"Magento_Checkout/js/model/quote",
"Magento_Tax/js/view/checkout/shipping_method/price",
"Magento_Checkout/js/checkout-data",
"Magento_Checkout/js/model/totals",
"Vertex_Tax/js/view/checkout/summary/tax-messages",
"Magento_Checkout/js/action/select-shipping-method",
"Magento_OfflineShipping/js/model/shipping-rates-validation-rules/flatrate",
"Magento_OfflineShipping/js/model/shipping-rates-validator/flatrate",
"Magento_OfflineShipping/js/model/shipping-rates-validation-rules/tablerate",
"Magento_OfflineShipping/js/model/shipping-rates-validator/tablerate",
"Magento_Checkout/js/model/shipping-address/form-popup-state",
"Magento_Checkout/js/action/select-shipping-address",
"Magento_Checkout/js/model/postcode-validator",
"Magento_Checkout/js/model/step-navigator",
"Magento_Checkout/js/view/summary/abstract-total",
"Magento_Tax/js/view/checkout/summary/subtotal",
"Magento_Tax/js/view/checkout/summary/tax",
"Magento_Weee/js/view/checkout/summary/weee",
"Magento_SalesRule/js/view/summary/discount",
"Magento_Tax/js/view/checkout/summary/grand-total",
"Magento_Checkout/js/view/summary/shipping",
"Magento_Tax/js/view/checkout/summary/shipping",
"Magento_Checkout/js/model/default-post-code-resolver",
"Magento_Checkout/js/model/new-customer-address",
"Magento_Checkout/js/model/address-converter",
"Magento_Checkout/js/model/url-builder",
"Magento_Ui/js/lib/validation/utils",
"Magento_Ui/js/lib/validation/rules",
"Magento_Ui/js/lib/validation/validator",
"Magento_Ui/js/form/element/abstract",
"Magento_Ui/js/form/element/select",
"Magento_Ui/js/form/element/region",
"Magento_Checkout/js/model/default-validation-rules",
"Magento_Checkout/js/model/default-validator",
"Magento_Checkout/js/model/shipping-rates-validator",
"Magento_OfflineShipping/js/view/shipping-rates-validation/flatrate",
"Magento_OfflineShipping/js/view/shipping-rates-validation/tablerate",
"Magento_Checkout/js/model/error-processor",
"Magento_Checkout/js/action/select-payment-method",
"Magento_Checkout/js/action/select-billing-address",
"Magento_Checkout/js/action/create-billing-address",
"Magento_Checkout/js/model/payment/method-list",
"Magento_Checkout/js/model/payment-service",
"Magento_Customer/js/model/customer/address",
"Magento_Customer/js/model/customer-addresses",
"Magento_Customer/js/model/address-list",
"Magento_Checkout/js/action/create-shipping-address",
"Magento_Checkout/js/model/checkout-data-resolver",
"Magento_Checkout/js/model/shipping-service",
"Magento_Checkout/js/model/shipping-rate-registry",
"Magento_Customer/js/model/customer",
"Magento_Checkout/js/model/resource-url-manager",
"Magento_Checkout/js/model/shipping-rate-processor/new-address",
"text!ui/template/form/field.html",
"text!ui/template/form/element/select.html",
"text!ui/template/form/element/input.html",
"text!Magento_Tax/template/checkout/shipping_method/price.html"
],
"exclude": [
"requirejs/require"
],
"create": true
},
{
"name": "bundles/checkout-index-index",
"create": true,
"include": [
"Magento_Checkout/js/checkout-loader",
"Magento_Ui/js/form/components/group",
"Magento_Checkout/js/view/summary/item/details",
"Magento_Checkout/js/view/summary/item/details/thumbnail",
"Magento_Checkout/js/view/summary/item/details/message",
"Magento_CheckoutAgreements/js/model/agreements-modal",
"Magento_CheckoutAgreements/js/view/checkout-agreements",
"Magento_Checkout/js/view/shipping-information/list",
"Magento_Checkout/js/model/full-screen-loader",
"text!Magento_Checkout/template/onepage.html",
"Magento_Checkout/js/model/payment/method-converter",
"Magento_Checkout/js/model/payment/renderer-list",
"Magento_Payment/js/view/payment/payments",
"Magento_OfflinePayments/js/view/payment/offline-payments",
"Magento_Paypal/js/view/payment/paypal-payments",
"Magento_Checkout/js/model/payment/additional-validators",
"MSP_ReCaptcha/js/reCaptcha",
"Magento_PaypalReCaptcha/js/paypalReCaptcha",
"Magento_Shipping/js/model/config",
"Magento_Shipping/js/view/checkout/shipping/shipping-policy",
"Magento_Checkout/js/view/summary",
"Magento_Checkout/js/view/summary/cart-items",
"Magento_Checkout/js/view/summary/totals",
"Magento_Checkout/js/view/summary/item/details/subtotal",
"Magento_Tax/js/view/checkout/summary/item/details/subtotal",
"Magento_Weee/js/view/checkout/summary/item/price/weee",
"Magento_Weee/js/view/checkout/summary/item/price/row_incl_tax",
"Magento_Weee/js/view/checkout/summary/item/price/row_excl_tax",
"Magento_Customer/js/action/check-email-availability",
"Magento_PaypalCaptcha/js/view/payment/list-mixin",
"Magento_SalesRule/js/model/payment/discount-messages",
"Magento_Checkout/js/model/authentication-messages",
"Magento_SalesRule/js/view/payment/discount-messages",
"Magento_Checkout/js/view/authentication-messages",
"Klarna_Kp/js/model/config",
"Klarna_Kp/js/action/override",
"Magento_PaypalCaptcha/js/view/checkout/paymentCaptcha",
"Magento_Checkout/js/model/billing-address-postcode-validator",
"Magento_Checkout/js/model/sidebar",
"Magento_Checkout/js/view/sidebar",
"Magento_CheckoutAgreements/js/model/agreement-validator",
"Magento_CheckoutAgreements/js/view/agreement-validation",
"Magento_Checkout/js/view/shipping-address/list",
"Magento_Checkout/js/view/form/element/email",
"Magento_Checkout/js/view/billing-address/list",
"Magento_Checkout/js/view/authentication",
"Magento_Checkout/js/action/get-payment-information",
"Magento_Checkout/js/model/customer-email-validator",
"Magento_Checkout/js/view/payment/email-validator",
"Magento_SalesRule/js/action/set-coupon-code",
"Magento_SalesRule/js/action/cancel-coupon",
"Magento_SalesRule/js/view/payment/discount",
"Magento_SalesRule/js/view/payment/captcha",
"Magento_Checkout/js/action/set-billing-address",
"Magento_Checkout/js/view/payment",
"Magento_Checkout/js/view/payment/list",
"Magento_Checkout/js/view/billing-address",
"Magento_Checkout/js/model/shipping-rate-processor/customer-address",
"Magento_Checkout/js/model/shipping-rate-service",
"Magento_Ui/js/form/element/post-code",
"text!Magento_Checkout/template/payment.html",
"text!Magento_Checkout/template/sidebar.html",
"text!Magento_Checkout/template/authentication.html",
"text!Magento_SalesRule/template/payment/discount.html",
"Magento_Checkout/js/view/estimation",
"Magento_Checkout/js/model/payment/method-group",
"text!Magento_Checkout/template/payment-methods/list.html",
"text!Magento_Checkout/template/summary.html",
"text!Magento_Checkout/template/estimation.html",
"Magento_Checkout/js/model/shipping-save-processor/payload-extender",
"Magento_Checkout/js/model/shipping-save-processor/default",
"Magento_Checkout/js/model/shipping-save-processor",
"Magento_Checkout/js/action/set-shipping-information",
"Magento_Checkout/js/view/shipping",
"text!Magento_Checkout/template/summary/totals.html",
"text!Magento_Checkout/template/summary/cart-items.html",
"text!Magento_Checkout/template/summary/item/details.html",
"text!Magento_Checkout/template/shipping.html",
"text!Magento_Checkout/template/summary/item/details/message.html",
"Magento_Checkout/js/view/shipping-information",
"Magento_Checkout/js/view/progress-bar",
"text!Magento_Checkout/template/summary/item/details/thumbnail.html",
"text!Magento_Checkout/template/form/element/email.html",
"text!Magento_Checkout/template/shipping-address/list.html",
"text!Magento_Checkout/template/shipping-address/form.html",
"text!Magento_Shipping/template/checkout/shipping/shipping-policy.html",
"text!Magento_Tax/template/checkout/summary/item/details/subtotal.html",
"text!Magento_Checkout/template/progress-bar.html",
"Temando_Shipping/js/model/collection-points",
"Temando_Shipping/js/model/pickup-locations",
"Temando_Shipping/js/view/checkout/shipping-information/address-renderer/shipping",
"text!Magento_Checkout/template/shipping-address/shipping-method-list.html",
"text!Magento_Checkout/template/shipping-information.html",
"text!ui/template/form/element/helper/tooltip.html",
"text!ui/template/group/group.html",
"text!Magento_Weee/template/checkout/summary/item/price/row_excl_tax.html",
"text!Magento_Checkout/template/shipping-address/shipping-method-item.html",
"mage/dropdowns"
],
"exclude": [
"requirejs/require",
"bundles/shared"
]
},
{
"name": "bundles/checkout-cart-index",
"create": true,
"include": [
"mage/sticky",
"Magento_Checkout/js/shopping-cart",
"Magento_Checkout/js/discount-codes",
"mage/redirect-url",
"Magento_Checkout/js/proceed-to-checkout",
"Magento_Ups/js/model/shipping-rates-validation-rules",
"Magento_Ups/js/model/shipping-rates-validator",
"Magento_Checkout/js/action/update-shopping-cart",
"Magento_Dhl/js/model/shipping-rates-validation-rules",
"Magento_Dhl/js/model/shipping-rates-validator",
"Magento_Fedex/js/model/shipping-rates-validation-rules",
"Magento_Fedex/js/model/shipping-rates-validator",
"Magento_Usps/js/model/shipping-rates-validation-rules",
"Magento_Usps/js/model/shipping-rates-validator",
"Magento_OfflineShipping/js/model/shipping-rates-validation-rules/freeshipping",
"Magento_OfflineShipping/js/model/shipping-rates-validator/freeshipping",
"Magento_GiftMessage/js/model/gift-message",
"Magento_GiftMessage/js/model/gift-options",
"Magento_Tax/js/view/checkout/cart/totals/tax",
"Magento_Weee/js/view/cart/totals/weee",
"Magento_SalesRule/js/view/cart/totals/discount",
"Magento_Tax/js/view/checkout/cart/totals/grand-total",
"Magento_Tax/js/view/checkout/cart/totals/shipping",
"Magento_GiftMessage/js/model/url-builder",
"Magento_Usps/js/view/shipping-rates-validation",
"Magento_Dhl/js/view/shipping-rates-validation",
"Magento_Fedex/js/view/shipping-rates-validation",
"Magento_OfflineShipping/js/view/shipping-rates-validation/freeshipping",
"Magento_Ups/js/view/shipping-rates-validation",
"Magento_GiftMessage/js/action/gift-options",
"Magento_GiftMessage/js/view/gift-message",
"Magento_Checkout/js/model/cart/cache",
"Magento_Checkout/js/view/cart/shipping-rates",
"Magento_Checkout/js/view/cart/totals",
"text!Magento_GiftMessage/template/gift-message-item-level.html",
"text!Magento_GiftMessage/template/gift-message.html",
"text!Magento_Checkout/template/cart/totals.html",
"text!Magento_Checkout/template/cart/shipping-rates.html",
"Magento_Checkout/js/model/cart/totals-processor/default",
"Magento_Checkout/js/model/cart/estimate-service",
"Magento_Checkout/js/view/cart/shipping-estimation",
"text!Magento_Tax/template/checkout/cart/totals/tax.html",
"text!Magento_Tax/template/checkout/cart/totals/grand-total.html",
"text!Magento_Tax/template/checkout/summary/subtotal.html",
"text!Magento_SalesRule/template/cart/totals/discount.html",
"text!Magento_Tax/template/checkout/cart/totals/shipping.html",
"text!Magento_Weee/template/checkout/summary/weee.html",
"text!Vertex_Tax/template/checkout/cart/totals/tax-messages.html",
"text!Magento_Checkout/template/cart/shipping-estimation.html"
],
"exclude": [
"requirejs/require",
"bundles/shared"
]
},
{
"name": "bundles/catalog-product-view",
"create": true,
"include": [
"Magento_Swatches/js/catalog-add-to-cart",
"Magento_Review/js/error-placement",
"Magento_Catalog/js/related-products",
"Magento_Review/js/process-reviews",
"magnifier/magnifier",
"magnifier/magnify",
"text!Magento_Theme/templates/breadcrumbs.html",
"Magento_Catalog/js/gallery",
"Magento_ProductVideo/js/load-player",
"Magento_ProductVideo/js/fotorama-add-video-events",
"Magento_Theme/js/model/breadcrumb-list",
"Magento_Theme/js/view/breadcrumbs",
"Magento_Theme/js/view/add-home-breadcrumb",
"Magento_Catalog/js/product/breadcrumbs",
"Magento_Review/js/validate-review",
"Magento_Catalog/product/view/validation",
"text!mage/gallery/gallery.html",
"Magento_Catalog/js/validate-product",
"Magento_Review/js/view/review",
"fotorama/fotorama",
"mage/gallery/gallery",
"Magento_Catalog/js/product/view/provider",
"text!Magento_InstantPurchase/template/confirmation.html",
"Magento_InstantPurchase/js/view/instant-purchase",
"text!Magento_InstantPurchase/template/instant-purchase.html",
"Magento_Catalog/js/upsell-products"
],
"exclude": [
"requirejs/require",
"bundles/shared"
]
},
{
"name": "bundles/catalog-category-view",
"create": true,
"include": [
"mage/accordion",
"Magento_Catalog/js/product/list/toolbar",
"Magento_Wishlist/js/view/wishlist"
],
"exclude": [
"requirejs/require",
"bundles/shared"
]
}
],
"shim": {
"jquery/jquery-migrate": {
"deps": [
"jquery"
]
},
"jquery/jstree/jquery.hotkeys": {
"deps": [
"jquery"
]
},
"jquery/hover-intent": {
"deps": [
"jquery"
]
},
"mage/adminhtml/backup": {
"deps": [
"prototype"
]
},
"mage/captcha": {
"deps": [
"prototype"
]
},
"mage/common": {
"deps": [
"jquery"
]
},
"mage/new-gallery": {
"deps": [
"jquery"
]
},
"mage/webapi": {
"deps": [
"jquery"
]
},
"jquery/ui": {
"deps": [
"jquery"
]
},
"MutationObserver": {
"deps": [
"es6-collections"
]
},
"moment": {
"exports": "moment"
},
"matchMedia": {
"exports": "mediaCheck"
},
"jquery/jquery-storageapi": {
"deps": [
"jquery/jquery.cookie"
]
},
"cardinaljs": {
"exports": "Cardinal"
},
"cardinaljsSandbox": {
"exports": "Cardinal"
},
"tiny_mce_4/tinymce.min": {
"exports": "tinyMCE"
},
"paypalInContextExpressCheckout": {
"exports": "paypal"
},
"vimeoAPI": {},
"acceptjs": {
"exports": "Accept"
},
"acceptjssandbox": {
"exports": "Accept"
},
"Magento_Tinymce3/tiny_mce/tiny_mce_src": {
"exports": "tinymce"
},
"braintreePayPalCheckout": {
"exports": "paypal"
},
"magnifier/magnifier": [
"jquery"
],
"fotorama/fotorama": [
"jquery"
]
},
"paths": {
"jquery/validate": "jquery/jquery.validate",
"jquery/hover-intent": "jquery/jquery.hoverIntent",
"jquery/file-uploader": "jquery/fileUploader/jquery.fileupload-fp",
"prototype": "legacy-build.min",
"jquery/jquery-storageapi": "jquery/jquery.storageapi.min",
"text": "requirejs/text",
"domReady": "requirejs/domReady",
"spectrum": "jquery/spectrum/spectrum",
"tinycolor": "jquery/spectrum/tinycolor",
"jquery-ui-modules": "jquery/ui-modules",
"cardinaljsSandbox": "empty:",
"cardinaljs": "empty:",
"ui/template": "Magento_Ui/templates",
"paypalInContextExpressCheckout": "empty:",
"acceptjssandbox": "empty:",
"acceptjs": "empty:",
"braintreePayPalCheckout": "empty:",
"temandoCheckoutFieldsDefinition": "Temando_Shipping/js/model/fields-definition",
"temandoDeliveryOptions": "Temando_Shipping/js/model/delivery-options",
"temandoShippingRatesValidator": "Temando_Shipping/js/model/shipping-rates-validator/temando",
"temandoShippingRatesValidationRules": "Temando_Shipping/js/model/shipping-rates-validation-rules/temando"
},
"map": {
"*": {
"ko": "knockoutjs/knockout",
"knockout": "knockoutjs/knockout",
"mageUtils": "mage/utils/main",
"rjsResolver": "mage/requirejs/resolver",
"rowBuilder": "Magento_Theme/js/row-builder",
"toggleAdvanced": "mage/toggle",
"translateInline": "mage/translate-inline",
"sticky": "mage/sticky",
"tabs": "mage/tabs",
"zoom": "mage/zoom",
"collapsible": "mage/collapsible",
"dropdownDialog": "mage/dropdown",
"dropdown": "mage/dropdowns",
"accordion": "mage/accordion",
"loader": "mage/loader",
"tooltip": "mage/tooltip",
"deletableItem": "mage/deletable-item",
"itemTable": "mage/item-table",
"fieldsetControls": "mage/fieldset-controls",
"fieldsetResetControl": "mage/fieldset-controls",
"redirectUrl": "mage/redirect-url",
"loaderAjax": "mage/loader",
"menu": "mage/menu",
"popupWindow": "mage/popup-window",
"validation": "mage/validation/validation",
"welcome": "Magento_Theme/js/view/welcome",
"breadcrumbs": "Magento_Theme/js/view/breadcrumbs",
"criticalCssLoader": "Magento_Theme/js/view/critical-css-loader",
"jquery/ui": "jquery/compat",
"checkoutBalance": "Magento_Customer/js/checkout-balance",
"address": "Magento_Customer/js/address",
"changeEmailPassword": "Magento_Customer/js/change-email-password",
"passwordStrengthIndicator": "Magento_Customer/js/password-strength-indicator",
"zxcvbn": "Magento_Customer/js/zxcvbn",
"addressValidation": "Magento_Customer/js/addressValidation",
"Magento_Customer/address": "Magento_Customer/js/address",
"Magento_Customer/change-email-password": "Magento_Customer/js/change-email-password",
"quickSearch": "Magento_Search/js/form-mini",
"Magento_Search/form-mini": "Magento_Search/js/form-mini",
"compareList": "Magento_Catalog/js/list",
"relatedProducts": "Magento_Catalog/js/related-products",
"upsellProducts": "Magento_Catalog/js/upsell-products",
"productListToolbarForm": "Magento_Catalog/js/product/list/toolbar",
"catalogGallery": "Magento_Catalog/js/gallery",
"priceBox": "Magento_Catalog/js/price-box",
"priceOptionDate": "Magento_Catalog/js/price-option-date",
"priceOptionFile": "Magento_Catalog/js/price-option-file",
"priceOptions": "Magento_Catalog/js/price-options",
"priceUtils": "Magento_Catalog/js/price-utils",
"catalogAddToCart": "Magento_Catalog/js/catalog-add-to-cart",
"addToCart": "Magento_Msrp/js/msrp",
"catalogSearch": "Magento_CatalogSearch/form-mini",
"bundleOption": "Magento_Bundle/bundle",
"priceBundle": "Magento_Bundle/js/price-bundle",
"slide": "Magento_Bundle/js/slide",
"productSummary": "Magento_Bundle/js/product-summary",
"creditCardType": "Magento_Payment/js/cc-type",
"Magento_Payment/cc-type": "Magento_Payment/js/cc-type",
"giftMessage": "Magento_Sales/js/gift-message",
"ordersReturns": "Magento_Sales/js/orders-returns",
"Magento_Sales/gift-message": "Magento_Sales/js/gift-message",
"Magento_Sales/orders-returns": "Magento_Sales/js/orders-returns",
"discountCode": "Magento_Checkout/js/discount-codes",
"shoppingCart": "Magento_Checkout/js/shopping-cart",
"regionUpdater": "Magento_Checkout/js/region-updater",
"sidebar": "Magento_Checkout/js/sidebar",
"checkoutLoader": "Magento_Checkout/js/checkout-loader",
"checkoutData": "Magento_Checkout/js/checkout-data",
"proceedToCheckout": "Magento_Checkout/js/proceed-to-checkout",
"downloadable": "Magento_Downloadable/js/downloadable",
"Magento_Downloadable/downloadable": "Magento_Downloadable/js/downloadable",
"configurable": "Magento_ConfigurableProduct/js/configurable",
"requireCookie": "Magento_Cookie/js/require-cookie",
"cookieNotices": "Magento_Cookie/js/notices",
"captcha": "Magento_Captcha/js/captcha",
"Magento_Captcha/captcha": "Magento_Captcha/js/captcha",
"taxToggle": "Magento_Weee/js/tax-toggle",
"Magento_Weee/tax-toggle": "Magento_Weee/js/tax-toggle",
"giftOptions": "Magento_GiftMessage/js/gift-options",
"extraOptions": "Magento_GiftMessage/js/extra-options",
"Magento_GiftMessage/gift-options": "Magento_GiftMessage/js/gift-options",
"Magento_GiftMessage/extra-options": "Magento_GiftMessage/js/extra-options",
"uiElement": "Magento_Ui/js/lib/core/element/element",
"uiCollection": "Magento_Ui/js/lib/core/collection",
"uiComponent": "Magento_Ui/js/lib/core/collection",
"uiClass": "Magento_Ui/js/lib/core/class",
"uiEvents": "Magento_Ui/js/lib/core/events",
"uiRegistry": "Magento_Ui/js/lib/registry/registry",
"consoleLogger": "Magento_Ui/js/lib/logger/console-logger",
"uiLayout": "Magento_Ui/js/core/renderer/layout",
"buttonAdapter": "Magento_Ui/js/form/button-adapter",
"tinymce4": "tiny_mce_4/tinymce.min",
"wysiwygAdapter": "mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter",
"pageCache": "Magento_PageCache/js/page-cache",
"multiShipping": "Magento_Multishipping/js/multi-shipping",
"orderOverview": "Magento_Multishipping/js/overview",
"payment": "Magento_Multishipping/js/payment",
"billingLoader": "Magento_Checkout/js/checkout-loader",
"cartUpdate": "Magento_Checkout/js/action/update-shopping-cart",
"transparent": "Magento_Payment/js/transparent",
"Magento_Payment/transparent": "Magento_Payment/js/transparent",
"orderReview": "Magento_Paypal/js/order-review",
"Magento_Paypal/order-review": "Magento_Paypal/js/order-review",
"paypalCheckout": "Magento_Paypal/js/paypal-checkout",
"loadPlayer": "Magento_ProductVideo/js/load-player",
"fotoramaVideoEvents": "Magento_ProductVideo/js/fotorama-add-video-events",
"recentlyViewedProducts": "Magento_Reports/js/recently-viewed",
"tinymceDeprecated": "Magento_Tinymce3/tiny_mce/tiny_mce_src",
"editTrigger": "mage/edit-trigger",
"addClass": "Magento_Translation/js/add-class",
"Magento_Translation/add-class": "Magento_Translation/js/add-class",
"braintreeClient": "empty:",
"braintreeHostedFields": "empty:",
"braintreePayPal": "empty:",
"braintree3DSecure": "empty:",
"braintreeDataCollector": "empty:",
"wishlist": "Magento_Wishlist/js/wishlist",
"addToWishlist": "Magento_Wishlist/js/add-to-wishlist",
"wishlistSearch": "Magento_Wishlist/js/search",
"amazonLogout": "Amazon_Login/js/amazon-logout",
"amazonOAuthRedirect": "Amazon_Login/js/amazon-redirect",
"amazonCsrf": "Amazon_Login/js/amazon-csrf",
"amazonCore": "Amazon_Payment/js/amazon-core",
"amazonWidgetsLoader": "Amazon_Payment/js/amazon-widgets-loader",
"amazonButton": "Amazon_Payment/js/amazon-button",
"amazonProductAdd": "Amazon_Payment/js/amazon-product-add",
"amazonPaymentConfig": "Amazon_Payment/js/model/amazonPaymentConfig",
"sjcl": "Amazon_Payment/js/lib/sjcl.min",
"klarnapi": "empty:",
"set-checkout-messages": "Vertex_Tax/js/model/set-checkout-messages"
}
},
onModuleBundleComplete: function (data) {
function onBundleComplete (config, data) {
const fileName = `${config.dir}/requirejs-config.js`;
const bundleConfig = {};
// We skip requirejs/require because we don't want it to be loaded asynchronously
if(data.name === 'requirejs/require') { return }
bundleConfig[data.name] = data.included;
bundleConfig[data.name] = bundleConfig[data.name].map(bundle => bundle.replace(/\.js$/, ''));
const contents = `require.config({
bundles: ${JSON.stringify(bundleConfig)},
});`;
fs.appendFile(fileName, contents, function (err) {
if (err) throw err;
console.log(`Bundle data for ${data.name} saved into ${fileName}`);
});
}
onBundleComplete(config, data);
},
})