Zend certified PHP/Magento developer

My build.js is not adding generated bundles in requirejs-config.js file

I followed closely enough the Magento devdoc on advanced JavaScript bundling for better store performance.

I see that pub/static/frontend/Perfectmakeupmirrors/argento-luxury-custom/en_US/bundles has all the bundles created. Something is wrong somewhere which is why these bundles are not present in requirejs-config.js. Please have a look at the build.js file to see if there is anything wrong in it.

({
optimize: 'uglify2',
inlineText: true,
deps: [
'jquery/jquery-migrate',
'mage/common',
'mage/dataPost',
'mage/bootstrap',
'Magento_PageCache/js/form-key-provider',
'mageTranslationDictionary',
'Swissup_Gdpr/js/model/cookie-blocker',
'Swissup_Navigationpro/js/nowrap',
'Swissup_Pagespeed/js/lib/loadCSS',
'Magento_Theme/js/theme',
'js/argento-base',
'js/argento-theme',
'js/argento-custom'
],
shim: {
'jquery/jquery-migrate': ['jquery'],
'mage/adminhtml/backup': ['prototype'],
'mage/captcha': ['prototype'],
'mage/new-gallery': ['jquery'],
'jquery/ui': ['jquery'],
'matchMedia': {
'exports': 'mediaCheck'
},
'magnifier/magnifier': ['jquery'],
'chartjs/chartjs-adapter-moment': ['moment'],
'tiny_mce_5/tinymce.min': {
exports: 'tinyMCE'
},
'Magento_PageBuilder/js/resource/slick/slick': {
deps: ['jquery']
},
'Magento_PageBuilder/js/resource/jarallax/jarallax-video': {
deps: ['jarallax-wrapper', 'vimeoWrapper']
},
cardinaljs: {
exports: 'Cardinal'
},
cardinaljsSandbox: {
exports: 'Cardinal'
},
vimeoAPI: {},
"mageplaza/core/jquery/popup": ["jquery"],
"mageplaza/core/owl.carousel": ["jquery"],
"mageplaza/core/bootstrap": ["jquery"],
"mpIonRangeSlider": ["jquery"],
"mpDevbridgeAutocomplete": ["jquery"],
"touchPunch": ['jquery', 'jquery/ui'],
'Swissup_Ajaxsearch/js/lib/select2.min': {
deps: ['jquery']
},
'Swissup_Pagespeed/js/lib/loadCSS': {
exports: 'loadCSS'
},
'Swissup_Pagespeed/js/lib/cssrelpreload': {
deps: [
'Swissup_Pagespeed/js/lib/loadCSS'
]
},
'jquery/jquery-migrate': ['js/mute-migrate'],
'js/lib/jquery.visible': ['jquery'],
'js/lib/sticky-kit': ['jquery']
},
paths: {
'jquery/validate': 'jquery/jquery.validate',
'jquery/file-uploader': 'jquery/fileUploader/jquery.fileuploader',
'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',
'jquery/jquery-storageapi': 'Magento_Cookie/js/jquery.storageapi.extended',
'ui/template': 'Magento_Ui/templates',
//'cardinaljsSandbox': 'https://includestest.ccdc02.com/cardinalcruise/v1/songbird',
//'cardinaljs': 'https://songbird.cardinalcommerce.com/edge/v1/songbird',
//'amazonPayCheckoutDE': 'https://static-eu.payments-amazon.com/checkout',
//'amazonPayCheckoutUK': 'https://static-eu.payments-amazon.com/checkout',
//'amazonPayCheckoutJP': 'https://static-fe.payments-amazon.com/checkout',
//'amazonPayCheckoutUS': 'https://static-na.payments-amazon.com/checkout',
'mageplaza/core/jquery/popup': 'Mageplaza_Core/js/jquery.magnific-popup.min',
'mageplaza/core/owl.carousel': 'Mageplaza_Core/js/owl.carousel.min',
'mageplaza/core/bootstrap': 'Mageplaza_Core/js/bootstrap.min',
'mpIonRangeSlider': 'Mageplaza_Core/js/ion.rangeSlider.min',
'touchPunch': 'Mageplaza_Core/js/jquery.ui.touch-punch.min',
'mpDevbridgeAutocomplete': 'Mageplaza_Core/js/jquery.autocomplete.min',
//"braintreePayPalCheckout": "https://js.braintreegateway.com/web/3.79.1/js/paypal-checkout.min",
//"braintreeHostedFields": "https://js.braintreegateway.com/web/3.79.1/js/hosted-fields.min",
//"braintreeDataCollector": "https://js.braintreegateway.com/web/3.79.1/js/data-collector.min",
//"braintreeThreeDSecure": "https://js.braintreegateway.com/web/3.79.1/js/three-d-secure.min",
//"braintreeApplePay": 'https://js.braintreegateway.com/web/3.79.1/js/apple-pay.min',
//"braintreeGooglePay": 'https://js.braintreegateway.com/web/3.79.1/js/google-payment.min',
//"braintreeVenmo": 'https://js.braintreegateway.com/web/3.79.1/js/venmo.min',
//"braintreeAch": "https://js.braintreegateway.com/web/3.79.1/js/us-bank-account.min",
//"braintreeLpm": "https://js.braintreegateway.com/web/3.79.1/js/local-payment.min",
//"googlePayLibrary": "https://pay.google.com/gp/p/js/pay",
//"braintreePayPalInContextCheckout": "https://www.paypalobjects.com/api/checkout",
},
map: { 
"*": {
'directoryRegionUpdater': 'Magento_Directory/js/region-updater',
'ko': 'knockoutjs/knockout',
'knockout': 'knockoutjs/knockout',
'mageUtils': 'mage/utils/main',
'rjsResolver': 'mage/requirejs/resolver',
'jquery-ui-modules/core': 'jquery/ui-modules/core',
'jquery-ui-modules/accordion': 'jquery/ui-modules/widgets/accordion',
'jquery-ui-modules/autocomplete': 'jquery/ui-modules/widgets/autocomplete',
'jquery-ui-modules/button': 'jquery/ui-modules/widgets/button',
'jquery-ui-modules/datepicker': 'jquery/ui-modules/widgets/datepicker',
'jquery-ui-modules/dialog': 'jquery/ui-modules/widgets/dialog',
'jquery-ui-modules/draggable': 'jquery/ui-modules/widgets/draggable',
'jquery-ui-modules/droppable': 'jquery/ui-modules/widgets/droppable',
'jquery-ui-modules/effect-blind': 'jquery/ui-modules/effects/effect-blind',
'jquery-ui-modules/effect-bounce': 'jquery/ui-modules/effects/effect-bounce',
'changeEmailPassword': 'Magento_Customer/js/change-email-password',
'passwordStrengthIndicator': 'Magento_Customer/js/password-strength-indicator',
'zxcvbn': 'Magento_Customer/js/zxcvbn',
'addressValidation': 'Magento_Customer/js/addressValidation',
'showPassword': 'Magento_Customer/js/show-password',
'Magento_Customer/address': 'Magento_Customer/js/address',
'Magento_Customer/change-email-password': 'Magento_Customer/js/change-email-password',
'escaper': 'Magento_Security/js/escaper',
'amazonPayConfig': 'Amazon_Pay/js/model/amazonPayConfig',
'amazonPayLoginButton': 'Amazon_Pay/js/amazon-login-button',
'amazonPayLogout': 'Amazon_Pay/js/amazon-logout',
'amazonPayLogoutButton': 'Amazon_Pay/js/amazon-logout-button',
'KlaviyoCustomerData': 'Klaviyo_Reclaim/js/customer',
'Magento_Checkout/js/model/shipping-save-processor/default': 
} 
},
//Bundles that will be generated by r.js
modules: [
//Bundles all dependencies common for all pages to requirejs/require.js. The bundled file will be loaded on all pages.
{
name: 'requirejs/require'
},
// Bundle all dependencies common for all pages that have "default" handle (home, product, category, etc)
// Exclude requirejs/require, as it willl be loaded in separate request.
// Edit this bundle configuration if you add/remove static files in default handle.
{
name: 'bundles/default',
create: true,
include: [
"mage/dropdown",
"Swissup_Ajaxsearch/js/ajaxsearch/results",
//"bloodhound",
"Swissup_Ajaxsearch/js/ajaxsearch/mobile",
//"typeahead.js",
"jquery/ui-modules/effects/effect-fade",
"mage/tabs",
"Magento_Search/js/form-mini",
"Magento_Theme/js/view/messages",
"jquery/ui-modules/widgets/tabs",
"Magento_Customer/js/block-submit-on-send",
"Magento_Customer/js/view/customer",
"jquery/ui-modules/widgets/button",
"mage/decorate",
"Magento_Catalog/js/product/storage/data-storage",
"jquery/ui-modules/jquery-patch",
"WeltPixel_GoogleTagManager/js/weltpixel_persistentlayer",
"jquery/jquery.cookie",
"Magento_Ui/js/lib/knockout/extender/bound-nodes",
"Magento_Ui/js/lib/core/collection",
"mage/validation",
"mage/utils/main",
"mage/apply/scripts",
"js/product-custom",
"Magento_Ui/js/grid/dnd",
"Magento_Ui/js/grid/columns/column",
"Magento_Theme/js/model/breadcrumb-list",
"Magento_InstantPurchase/js/view/instant-purchase",
"Magento_Catalog/js/product/name",
"Magento_Review/js/validate-review",
"Magento_Catalog/js/catalog-add-to-cart",
"Magento_ProductVideo/js/load-player",
"mage/accordion",
"Swissup_Fblike/js/fblike",
"Magento_Catalog/js/product/provider",
"Swissup_ProLabels/js/renderLabels",
"Magento_Catalog/js/price-box",
"Magento_Catalog/js/product/view/product-info-resolver",
"Magento_Catalog/js/product/addtocompare-button",
"text!Magento_Theme/templates/breadcrumbs.html",
"Magento_Catalog/js/product/learn-more",
"Swissup_Highlight/js/mixin/catalog-add-to-cart",
"Magento_Theme/js/view/breadcrumbs",
"Magento_Catalog/js/product/list/listing",
"Magento_Catalog/js/product/list/toolbar",
"Magento_Wishlist/js/product/addtowishlist-button",
"Magento_Review/js/view/review",
"Magento_Review/js/submit-review",
"magnifier/magnifier",
"Swissup_Swiper/js/swiper",
"Magento_Catalog/js/product/addtocart-button",
"Swissup_SoldTogether/js/customer-also-bought",
"Magento_Catalog/js/product/uenc-processor",
"Magento_Catalog/js/validate-product",
"Magento_ConfigurableProduct/js/product/view/product-info-resolver",
"Swissup_SoldTogether/js/helper",
"Swissup_Navigationpro/js/overlay",
"Swissup_Ajaxpro/js/catalog-product-view",
"Magento_Review/js/process-reviews",
"fotorama/fotorama",
"Magento_Catalog/js/gallery",
"Swissup_ProLabels/js/prolabels",
"Swissup_Ajaxpro/js/catalog-add-to-cart"   
],
exclude: [
'bundles/default',
'requirejs/require'
]
},
// Bundle for shipping (cart and checkout)
{
name: 'bundles/shipping',
create: true,
include: [
"StripeIntegration_Payments/js/stripe_payments_express",
"Magento_Catalog/js/price-utils",
"https://js.stripe.com/v3/",
"text!ui/template/collection.html",
"StripeIntegration_Payments/js/mixins/checkout/summary/grand_total",
"Magento_Checkout/js/model/shipping-rates-validator",
"Magento_InventoryInStorePickupFrontend/js/model/quote-ext",
"Magento_InventoryInStorePickupFrontend/js/checkout-data-ext",
"Magento_Ui/js/form/element/abstract",
"Magento_Checkout/js/view/summary/shipping",
"Magento_Checkout/js/model/quote",
"Magento_Weee/js/view/checkout/summary/weee",
//"amazonPayCheckoutUS",
"Magento_Checkout/js/model/address-converter",
"Magento_Checkout/js/model/new-customer-address",
"Magento_Checkout/js/action/select-payment-method",
"Magento_Tax/js/view/checkout/summary/shipping",
"Magento_Checkout/js/view/summary/abstract-total",
"Magento_Checkout/js/model/shipping-rates-validation-rules",
"text!ui/template/form/field.html",
"tinycolor",
"Magento_Tax/js/view/checkout/summary/grand-total",
"Magento_Checkout/js/action/set-payment-information-extended",
"text!Magento_Tax/template/checkout/shipping_method/price.html",
"StripeIntegration_Payments/js/view/checkout/summary/initial_fee",
"Magento_Checkout/js/model/postcode-validator",
"Magento_SalesRule/js/model/coupon",
"Magento_Checkout/js/model/default-validator",
"Magento_Checkout/js/action/create-shipping-address",
"Magento_SalesRule/js/action/select-payment-method-mixin",
"Magento_Checkout/js/checkout-data",
"text!ui/template/form/element/select.html",
"Magento_Checkout/js/action/create-billing-address",
"Magento_Customer/js/model/customer/address",
"StripeIntegration_Payments/js/view/checkout/trialing_subscriptions",
"Magento_Customer/js/model/address-list",
"Magento_Checkout/js/model/shipping-rate-registry",
"Magento_Ui/js/form/element/region",
"Magento_Checkout/js/model/payment/place-order-hooks",
"Magento_Checkout/js/model/error-processor",
"text!StripeIntegration_Payments/template/checkout/trialing_subscriptions.html",
"Magento_Checkout/js/model/default-post-code-resolver",
"Amazon_Pay/js/amazon-button",
"Magento_SalesRule/js/view/summary/discount",
"Magento_Checkout/js/model/step-navigator",
"Magento_Customer/js/model/customer-addresses",
"StripeIntegration_Payments/js/view/checkout/cart/totals/initial_fee",
"Magento_Checkout/js/model/shipping-service",
"Magento_Checkout/js/model/url-builder",
"Magento_Ui/js/lib/validation/utils",
"Magento_Tax/js/view/checkout/summary/subtotal",
"Magento_Tax/js/view/checkout/summary/tax",
"Magento_Checkout/js/model/totals",
"Magento_Checkout/js/action/get-totals",
"Magento_Checkout/js/model/shipping-address/form-popup-state",
"PayPal_Braintree/js/model/step-navigator-mixin",
"Magento_Tax/js/view/checkout/shipping_method/price",
"Magento_Checkout/js/action/select-shipping-address",
"Magento_Checkout/js/action/select-billing-address",
"Magento_Checkout/js/model/resource-url-manager",
"Magento_Checkout/js/model/payment/additional-validators",
"Magento_InventoryInStorePickupFrontend/js/model/checkout-data-resolver-ext",
"Magento_Customer/js/model/customer",
"text!ui/template/form/element/input.html",
"Magento_Ui/js/lib/validation/validator",
"text!Magento_Tax/template/checkout/summary/subtotal.html",
"Amazon_Pay/js/view/checkout/summary/grand-total-mixin",
"text!Magento_Weee/template/checkout/summary/weee.html",
"Magento_SalesRule/js/model/payment/discount-messages",
"Magento_Checkout/js/model/payment/method-list",
"Magento_InventoryInStorePickupFrontend/js/model/pickup-address-converter",
"Magento_Ui/js/form/element/select",
"StripeIntegration_Payments/js/action/get-trialing-subscriptions",
"Magento_Ui/js/lib/validation/rules",
"Magento_Checkout/js/model/checkout-data-resolver",
"Magento_Checkout/js/model/full-screen-loader",
"text!StripeIntegration_Payments/template/checkout/cart/totals/initial_fee.html",
"Magento_Checkout/js/model/payment-service",
"Magento_Checkout/js/model/shipping-rate-processor/new-address",
"Magento_Checkout/js/model/default-validation-rules",
"Magento_Checkout/js/action/select-shipping-method",
"Magento_Checkout/js/view/form/element/email",
"Magento_Customer/js/action/check-email-availability",
"Magento_Checkout/js/view/shipping-information/list",
"Magento_Checkout/js/view/authentication-messages",
"Magento_Usps/js/view/shipping-rates-validation",
"Magento_OfflineShipping/js/model/shipping-rates-validator/flatrate",
"Magento_Checkout/js/discount-codes",
"Magento_Checkout/js/action/set-billing-address",
"Magento_OfflineShipping/js/view/shipping-rates-validation/flatrate",
"Magento_GiftMessage/js/model/gift-message",
"text!Magento_Weee/template/checkout/summary/item/price/row_excl_tax.html",
"Magento_Checkout/js/model/place-order",
"text!Magento_Ui/template/messages.html",
"Magento_Checkout/js/view/payment/default",
"text!Magento_Checkout/template/cart/shipping-rates.html",
"Magento_SalesRule/js/view/payment/discount-messages",
"Magento_Fedex/js/model/shipping-rates-validation-rules",
"text!Magento_GiftMessage/template/gift-message-form.html",
"Magento_SalesRule/js/view/cart/totals/discount",
"Magento_SalesRule/js/view/payment/captcha",
"StripeIntegration_Payments/js/action/get-client-secret",
"Magento_Checkout/js/view/summary/item/details/subtotal",
"Magento_Checkout/js/view/checkout/placeOrderCaptcha",
"text!Magento_Checkout/template/summary/totals.html",
"Magento_Checkout/js/view/summary/item/details",
"Magento_OfflineShipping/js/model/shipping-rates-validator/tablerate",
"Magento_Checkout/js/action/update-shopping-cart",
"StripeIntegration_Payments/js/action/post-confirm-payment",
"Magento_Fedex/js/view/shipping-rates-validation",
"Magento_Checkout/js/model/authentication-messages",
"Magento_OfflineShipping/js/view/shipping-rates-validation/tablerate",
"Magento_Shipping/js/model/config",
"Magento_Checkout/js/action/get-payment-information",
"Klaviyo_Reclaim/js/view/checkout/email",
"text!Magento_Tax/template/checkout/cart/totals/tax.html",
"text!Magento_Tax/template/checkout/summary/tax.html",
"text!Magento_Tax/template/checkout/summary/shipping.html",
"text!ui/template/group/group.html",
"Magento_Checkout/js/action/recollect-shipping-rates",
"Magento_Checkout/js/view/summary/item/details/thumbnail",
"Magento_Checkout/js/checkout-loader",
"text!Magento_Checkout/template/sidebar.html",
"Magento_Dhl/js/model/shipping-rates-validation-rules",
"Magento_PaypalCaptcha/js/view/payment/list-mixin",
"Magento_Checkout/js/view/summary",
"Magento_Dhl/js/view/shipping-rates-validation",
"Magento_Checkout/js/view/shipping-address/list",
"Magento_CheckoutAgreements/js/model/agreement-validator",
"Magento_Checkout/js/view/shipping-information/address-renderer/default",
"Magento_Checkout/js/view/cart/totals",
"Magento_Usps/js/model/shipping-rates-validator",
"Amazon_Pay/js/action/toggle-form-fields",
"Magento_OfflineShipping/js/view/shipping-rates-validation/freeshipping",
"text!Magento_Tax/template/checkout/summary/grand-total.html",
"Magento_Ui/js/form/element/post-code",
"Magento_Weee/js/view/cart/totals/weee",
"text!Magento_Shipping/template/checkout/shipping/shipping-policy.html",
"text!StripeIntegration_Payments/template/payment/apple_pay_top.html",
"Magento_Fedex/js/model/shipping-rates-validator",
"Magento_Checkout/js/action/set-shipping-information",
"text!Magento_Checkout/template/onepage.html",
"Magento_Checkout/js/view/shipping-information",
"Magento_CheckoutAgreements/js/view/agreement-validation",
"Magento_SalesRule/js/view/payment/discount",
"Magento_Checkout/js/view/sidebar",
"Magento_Checkout/js/model/payment/method-group",
"text!Amazon_Pay/template/checkout-revert.html",
"Magento_Checkout/js/view/payment/list",
"text!Amazon_Pay/template/checkout-button.html",
"Magento_Checkout/js/model/shipping-save-processor",
"Amazon_Pay/js/model/billing-address/form-address-state",
"Magento_Shipping/js/view/checkout/shipping/shipping-policy",
"Magento_Checkout/js/model/customer-email-validator",
"text!Magento_Checkout/template/cart/shipping-estimation.html",
"text!Magento_Checkout/template/payment.html",
"Magento_Checkout/js/view/summary/cart-items",
"text!Magento_ReCaptchaCheckout/template/payment-recaptcha-container.html",
"Magento_SalesRule/js/model/shipping-save-processor-mixin",
"Magento_Usps/js/model/shipping-rates-validation-rules",
"text!Magento_Tax/template/checkout/summary/item/details/subtotal.html",
"Magento_Checkout/js/model/payment/method-converter",
"Magento_Ups/js/view/shipping-rates-validation",
"text!Magento_Checkout/template/authentication.html",
"Magento_Checkout/js/proceed-to-checkout",
"text!Magento_Tax/template/checkout/cart/totals/grand-total.html",
"Magento_OfflineShipping/js/model/shipping-rates-validation-rules/flatrate",
"text!Magento_Tax/template/checkout/cart/totals/shipping.html",
"StripeIntegration_Payments/js/view/payment/apple_pay",
"Magento_CheckoutAgreements/js/model/place-order-mixin",
"text!Magento_InventoryInStorePickupFrontend/template/shipping-information.html",
"Amazon_Pay/js/view/checkout-button",
"Magento_Dhl/js/model/shipping-rates-validator",
"Magento_Checkout/js/model/payment/renderer-list",
"Amazon_Pay/js/model/shipping-address/form-address-state",
"Magento_GiftMessage/js/view/gift-message",
"Amazon_Pay/js/view/checkout-revert",
"text!Magento_Checkout/template/progress-bar.html",
"text!Magento_Checkout/template/cart/totals.html",
"Magento_Checkout/js/model/shipping-rate-processor/customer-address",
"Magento_OfflineShipping/js/model/shipping-rates-validator/freeshipping",
"Amazon_Pay/js/view/shipping-address/list",
"Magento_Checkout/js/shopping-cart",
"Magento_Weee/js/view/checkout/summary/item/price/weee",
"Magento_Ups/js/model/shipping-rates-validator",
"Magento_Checkout/js/model/sidebar",
"Magento_OfflineShipping/js/model/shipping-rates-validation-rules/tablerate",
"Magento_OfflineShipping/js/model/shipping-rates-validation-rules/freeshipping",
"Magento_Checkout/js/view/payment",
"text!Magento_SalesRule/template/summary/discount.html",
"Magento_Checkout/js/view/shipping",
"text!Magento_Checkout/template/estimation.html",
"text!Magento_Checkout/template/shipping.html",
"Magento_Checkout/js/view/authentication",
"Amazon_Pay/js/view/payment/amazon-payment-method",
"Magento_ReCaptchaWebapiUi/js/webapiReCaptchaRegistry",
"Magento_Checkout/js/view/estimation",
"Magento_Checkout/js/model/cart/cache",
"text!ui/template/form/element/helper/tooltip.html",
"Amazon_Pay/js/view/form/element/email",
"Magento_Paypal/js/view/payment/paypal-payments",
"Amazon_Pay/js/action/checkout-session-address-load",
"text!Amazon_Pay/template/form/element/email.html",
"Magento_CheckoutAgreements/js/model/agreements-assigner",
"Magento_Checkout/js/view/billing-address",
"Magento_Tax/js/view/checkout/cart/totals/tax",
"StripeIntegration_Payments/js/view/payment/stripe_payments",
"Magento_Tax/js/view/checkout/cart/totals/grand-total",
"Amazon_Pay/js/view/payment/list-mixin",
"text!Magento_Checkout/template/summary/cart-items.html",
"Magento_SalesRule/js/model/place-order-mixin",
"text!Magento_Checkout/template/summary/item/details/message.html",
"StripeIntegration_Payments/js/action/post-update-cart",
"Magento_CheckoutAgreements/js/model/agreements-modal",
"text!Magento_GiftMessage/template/gift-message-item-level.html",
"Magento_Checkout/js/model/shipping-rate-service",
"Amazon_Pay/js/view/billing-address",
"text!Magento_CheckoutAgreements/template/checkout/checkout-agreements.html",
"Magento_Payment/js/view/payment/payments",
"text!Magento_SalesRule/template/cart/totals/discount.html",
"Magento_Weee/js/view/checkout/summary/item/price/row_incl_tax",
"Amazon_Pay/js/view/shipping",
"Magento_Weee/js/view/checkout/summary/item/price/row_excl_tax",
"Magento_GiftMessage/js/model/gift-options",
"Magento_GiftMessage/js/action/gift-options",
"Magento_Checkout/js/model/billing-address-postcode-validator",
"text!Magento_Checkout/template/shipping-address/list.html",
"text!Magento_Checkout/template/shipping-address/form.html",
"Amazon_Pay/js/view/checkout-address",
"Magento_Checkout/js/view/progress-bar",
"Magento_Checkout/js/view/summary/totals",
"Magento_Tax/js/view/checkout/summary/item/details/subtotal",
"text!Magento_Checkout/template/summary.html",
"Magento_Checkout/js/model/cart/totals-processor/default",
"Magento_Checkout/js/action/redirect-on-success",
"Magento_Tax/js/view/checkout/cart/totals/shipping",
"Magento_ReCaptchaCheckout/js/model/place-order-mixin",
"StripeIntegration_Payments/js/view/payment/method-renderer/stripe_payments",
"Magento_Checkout/js/view/billing-address/list",
"Magento_PaypalCaptcha/js/view/checkout/paymentCaptcha",
"Magento_GiftMessage/js/model/url-builder",
"Magento_Checkout/js/model/cart/estimate-service",
"text!Magento_Checkout/template/payment-methods/list.html",
"Magento_Checkout/js/view/cart/shipping-rates",
"Magento_Checkout/js/view/summary/item/details/message",
"Klaviyo_Reclaim/js/model/shipping-save-processor/default",
"Magento_SalesRule/js/action/cancel-coupon",
"text!Magento_SalesRule/template/payment/discount.html",
"Magento_Checkout/js/view/payment/email-validator",
"text!Magento_Checkout/template/summary/item/details/thumbnail.html",
"Magento_CheckoutAgreements/js/view/checkout-agreements",
"Magento_Checkout/js/action/place-order",
"text!Magento_GiftMessage/template/gift-message.html",
"Magento_Checkout/js/view/cart/shipping-estimation",
"Magento_Ups/js/model/shipping-rates-validation-rules",
"Magento_SalesRule/js/action/set-coupon-code",
"text!Magento_Checkout/template/shipping-address/shipping-method-list.html",
"text!Magento_Captcha/template/checkout/captcha.html",
"Magento_Ui/js/form/components/group",
"Magento_InventoryInStorePickupFrontend/js/view/shipping-information-ext",
"mage/sticky",
"text!Magento_Checkout/template/shipping-address/shipping-method-item.html",
"StripeIntegration_Payments/js/action/post-restore-quote",
"text!Magento_Checkout/template/summary/item/details.html"  
],
exclude: [
'bundles/default',
'requirejs/require'
]
},
// Bundle for cms (cms pages)
{
name: 'bundles/cms',
create: true,
include: [
"text!Magento_ReCaptchaFrontendUi/template/reCaptcha.html",
"Magento_ReCaptchaFrontendUi/js/nonInlineReCaptchaRenderer",
"Magento_ReCaptchaFrontendUi/js/reCaptcha",
"Magento_ReCaptchaFrontendUi/js/reCaptchaScriptLoader"
],
exclude: [
'bundles/default',
'requirejs/require'
]
}
],
// To get RequireJS to use your bundles, add a onModuleBundleComplete callback after the modules node in the build.js file
bundlesConfigOutFile: `${config.dir}/requirejs-config.js`,
onModuleBundleComplete: function(data) {
if (this.bundleConfigAppended) {
return;
}
this.bundleConfigAppended = true;
// bundlesConfigOutFile requires a simple require.config call in order to modify the configuration
const bundleConfigPlaceholder = `
(function (require) {
require.config({});
})(require);
`;
fs.appendFileSync(this.bundlesConfigOutFile, bundleConfigPlaceholder);
}
})