magesuite / magepack

Next generation Magento 2 advanced JavaScript bundler.
Open Software License 3.0
437 stars 91 forks source link

reduce the size of bundle-common.min.js #69

Closed rossmc closed 3 years ago

rossmc commented 3 years ago

I'm getting the below advice from lighthouse to Remove unused JavaScript and the highlighted file is bundle-common.min.js.

<img src="https://user-images.githubusercontent.com/2452991/100646748-b86be600-333e-11eb-9349-84cc6bd3c825.png" alt="lighthouse score" title="A cute kitten" width="450" />

  1. Is this to be expected?
  2. Is there any advice on how I can improve this? Either with magepack or some other Magento optimisation.

Some details...

I'm using magepack v2.3.2.

Below is my projects magepack.config.js.

module.exports = [
  {
    name: 'common',
    modules: {
      'Rossmc_LazyLoadingImages/js/lazysizes': 'Rossmc_LazyLoadingImages/js/lazysizes',
      jquery: 'jquery',
      domReady: 'requirejs/domReady',
      'jquery/patches/jquery': 'jquery/patches/jquery',
      'jquery/jquery.mobile.custom': 'jquery/jquery.mobile.custom',
      'jquery-ui-modules/widget': 'jquery/ui-modules/widget',
      text: 'mage/requirejs/text',
      'jquery/jquery-migrate': 'jquery/jquery-migrate',
      'mage/common': 'mage/common',
      'mage/smart-keyboard-handler': 'mage/smart-keyboard-handler',
      'text!js-translation.json': 'js-translation.json',
      'Magento_Translation/js/mage-translation-dictionary': 'Magento_Translation/js/mage-translation-dictionary',
      'mage/ie-class-fixer': 'mage/ie-class-fixer',
      'jquery/patches/jquery-ui': 'jquery/patches/jquery-ui',
      underscore: 'underscore',
      'mage/template': 'mage/template',
      matchMedia: 'matchMedia',
      'knockoutjs/knockout': 'knockoutjs/knockout',
      'knockoutjs/knockout-es5': 'knockoutjs/knockout-es5',
      'mage/apply/scripts': 'mage/apply/scripts',
      'mage/apply/main': 'mage/apply/main',
      'mage/mage': 'mage/mage',
      'Magento_Theme/js/theme': 'Magento_Theme/js/theme',
      'mage/translate': 'mage/translate',
      'text!ui/template/modal/modal-popup.html': 'Magento_Ui/templates/modal/modal-popup.html',
      'text!ui/template/modal/modal-slide.html': 'Magento_Ui/templates/modal/modal-slide.html',
      'text!ui/template/modal/modal-custom.html': 'Magento_Ui/templates/modal/modal-custom.html',
      'Magento_Ui/js/lib/knockout/extender/observable_array': 'Magento_Ui/js/lib/knockout/extender/observable_array',
      'jquery-ui-modules/core': 'jquery/ui-modules/core',
      'jquery/jquery.cookie': 'jquery/jquery.cookie',
      'mage/cookies': 'mage/cookies',
      'Smile_ElasticsuiteTracker/js/user-consent': 'Smile_ElasticsuiteTracker/js/user-consent',
      'jquery-ui-modules/button': 'jquery/ui-modules/button',
      'jquery-ui-modules/position': 'jquery/ui-modules/position',
      'Magento_Ui/js/lib/key-codes': 'Magento_Ui/js/lib/key-codes',
      'Magento_Ui/js/modal/modal': 'Magento_Ui/js/modal/modal',
      'Magento_Ui/js/modal/confirm': 'Magento_Ui/js/modal/confirm',
      'mage/dataPost': 'mage/dataPost',
      'knockoutjs/knockout-repeat': 'knockoutjs/knockout-repeat',
      'knockoutjs/knockout-fast-foreach': 'knockoutjs/knockout-fast-foreach',
      'mage/utils/wrapper': 'mage/utils/wrapper',
      'es6-collections': 'es6-collections',
      'Magento_Ui/js/lib/core/events': 'Magento_Ui/js/lib/core/events',
      'Magento_Ui/js/lib/knockout/extender/bound-nodes': 'Magento_Ui/js/lib/knockout/extender/bound-nodes',
      'Magento_Ui/js/lib/knockout/bindings/mage-init': 'Magento_Ui/js/lib/knockout/bindings/mage-init',
      'Magento_Ui/js/lib/knockout/bindings/fadeVisible': 'Magento_Ui/js/lib/knockout/bindings/fadeVisible',
      'jquery-ui-modules/mouse': 'jquery/ui-modules/mouse',
      'jquery-ui-modules/draggable': 'jquery/ui-modules/draggable',
      'jquery-ui-modules/resizable': 'jquery/ui-modules/resizable',
      'jquery-ui-modules/dialog': 'jquery/ui-modules/dialog',
      'mage/translate-inline': 'mage/translate-inline',
      'text!ui/template/tooltip/tooltip.html': 'Magento_Ui/templates/tooltip/tooltip.html',
      'jquery/jquery.storageapi.min': 'jquery/jquery.storageapi.min',
      'jquery/jquery-storageapi': 'Magento_Cookie/js/jquery.storageapi.extended',
      'mage/collapsible': 'mage/collapsible',
      'mage/tabs': 'mage/tabs',
      'Magento_Theme/js/responsive': 'Magento_Theme/js/responsive',
      'Magento_Ui/js/lib/registry/registry': 'Magento_Ui/js/lib/registry/registry',
      'jquery-ui-modules/slider': 'jquery/ui-modules/slider',
      moment: 'moment',
      tinycolor: 'jquery/spectrum/tinycolor',
      spectrum: 'jquery/spectrum/spectrum',
      'Magento_Ui/js/lib/knockout/template/loader': 'Magento_Ui/js/lib/knockout/template/loader',
      'Magento_Ui/js/lib/knockout/template/renderer': 'Magento_Ui/js/lib/knockout/template/renderer',
      'Magento_Ui/js/lib/knockout/bindings/i18n': 'Magento_Ui/js/lib/knockout/bindings/i18n',
      'Magento_Ui/js/lib/knockout/bindings/range': 'Magento_Ui/js/lib/knockout/bindings/range',
      'Magento_Ui/js/lib/knockout/bindings/keyboard': 'Magento_Ui/js/lib/knockout/bindings/keyboard',
      'Magento_Ui/js/lib/knockout/bindings/after-render': 'Magento_Ui/js/lib/knockout/bindings/after-render',
      'Magento_Ui/js/lib/knockout/bindings/autoselect': 'Magento_Ui/js/lib/knockout/bindings/autoselect',
      'Magento_Ui/js/lib/knockout/bindings/outer_click': 'Magento_Ui/js/lib/knockout/bindings/outer_click',
      'Magento_Ui/js/lib/knockout/bindings/collapsible': 'Magento_Ui/js/lib/knockout/bindings/collapsible',
      'Magento_Ui/js/lib/knockout/bindings/staticChecked': 'Magento_Ui/js/lib/knockout/bindings/staticChecked',
      'Magento_Ui/js/lib/knockout/bindings/simple-checked': 'Magento_Ui/js/lib/knockout/bindings/simple-checked',
      'Magento_Ui/js/lib/knockout/bindings/bind-html': 'Magento_Ui/js/lib/knockout/bindings/bind-html',
      'Magento_Ui/js/lib/knockout/bindings/tooltip': 'Magento_Ui/js/lib/knockout/bindings/tooltip',
      'Magento_Ui/js/lib/knockout/bindings/color-picker': 'Magento_Ui/js/lib/knockout/bindings/color-picker',
      'Magento_Ui/js/lib/logger/message-pool': 'Magento_Ui/js/lib/logger/message-pool',
      'Magento_Ui/js/lib/logger/levels-pool': 'Magento_Ui/js/lib/logger/levels-pool',
      'Magento_Ui/js/lib/logger/logger': 'Magento_Ui/js/lib/logger/logger',
      'Magento_Ui/js/lib/logger/console-output-handler': 'Magento_Ui/js/lib/logger/console-output-handler',
      'Magento_Ui/js/lib/logger/logger-utils': 'Magento_Ui/js/lib/logger/logger-utils',
      'jquery-ui-modules/datepicker': 'jquery/ui-modules/datepicker',
      'jquery-ui-modules/timepicker': 'jquery/ui-modules/timepicker',
      'mage/calendar': 'mage/calendar',
      'Magento_Ui/js/lib/view/utils/bindings': 'Magento_Ui/js/lib/view/utils/bindings',
      'mage/utils/strings': 'mage/utils/strings',
      'mage/utils/arrays': 'mage/utils/arrays',
      'mage/utils/objects': 'mage/utils/objects',
      'mage/utils/template': 'mage/utils/template',
      'Magento_Ui/js/lib/logger/formatter': 'Magento_Ui/js/lib/logger/formatter',
      'mage/utils/compare': 'mage/utils/compare',
      'Magento_Ui/js/lib/logger/entry': 'Magento_Ui/js/lib/logger/entry',
      'Magento_Ui/js/lib/logger/entry-factory': 'Magento_Ui/js/lib/logger/entry-factory',
      MutationObserver: 'MutationObserver',
      'Magento_Ui/js/lib/view/utils/dom-observer': 'Magento_Ui/js/lib/view/utils/dom-observer',
      'Magento_Ui/js/lib/view/utils/async': 'Magento_Ui/js/lib/view/utils/async',
      'Magento_Ui/js/lib/knockout/bindings/resizable': 'Magento_Ui/js/lib/knockout/bindings/resizable',
      FormData: 'FormData',
      'mage/utils/misc': 'mage/utils/misc',
      'mage/utils/main': 'mage/utils/main',
      'Magento_Ui/js/lib/knockout/bindings/optgroup': 'Magento_Ui/js/lib/knockout/bindings/optgroup',
      'Magento_Ui/js/lib/knockout/bindings/datepicker': 'Magento_Ui/js/lib/knockout/bindings/datepicker',
      'Magento_Ui/js/lib/core/class': 'Magento_Ui/js/lib/core/class',
      'Magento_Ui/js/lib/knockout/template/observable_source': 'Magento_Ui/js/lib/knockout/template/observable_source',
      'Magento_Ui/js/lib/core/storage/local': 'Magento_Ui/js/lib/core/storage/local',
      'Magento_Ui/js/lib/logger/console-logger': 'Magento_Ui/js/lib/logger/console-logger',
      'Magento_Ui/js/lib/knockout/template/engine': 'Magento_Ui/js/lib/knockout/template/engine',
      'Magento_Ui/js/lib/knockout/bindings/scope': 'Magento_Ui/js/lib/knockout/bindings/scope',
      'Magento_Ui/js/lib/knockout/bindings/bootstrap': 'Magento_Ui/js/lib/knockout/bindings/bootstrap',
      'Magento_Ui/js/lib/knockout/bootstrap': 'Magento_Ui/js/lib/knockout/bootstrap',
      'mage/bootstrap': 'mage/bootstrap',
      'mage/loader': 'mage/loader',
      'Magento_PageCache/js/page-cache': 'Magento_PageCache/js/page-cache',
      'Magento_Cookie/js/notices': 'Magento_Cookie/js/notices',
      'mage/trim-input': 'mage/trim-input',
      'Magento_PageBuilder/js/widget-initializer': 'Magento_PageBuilder/js/widget-initializer',
      'Magento_Ui/js/block-loader': 'Magento_Ui/js/block-loader',
      'Magento_Customer/js/section-config': 'Magento_Customer/js/section-config',
      'Magento_Banner/js/model/banner': 'Magento_Banner/js/model/banner',
      'mage/dropdown': 'mage/dropdown',
      'Magento_Checkout/js/dropdown-mixin': 'Magento_Checkout/js/dropdown-mixin',
      'Smile_ElasticsuiteCore/js/form-mini-mixin': 'Smile_ElasticsuiteCore/js/form-mini-mixin',
      'Magento_QuickOrder/js/mage/menu': 'Magento_QuickOrder/js/mage/menu',
      'Rossmc_MegaMenu/js/mega-menu-mixin': 'Rossmc_MegaMenu/js/mega-menu-mixin',
      'Magento_Persistent/js/view/customer-data-mixin': 'Magento_Persistent/js/view/customer-data-mixin',
      'Magento_Ui/js/modal/alert': 'Magento_Ui/js/modal/alert',
      'Magento_Catalog/js/price-utils': 'Magento_Catalog/js/price-utils',
      'text!ui/template/block-loader.html': 'Magento_Ui/templates/block-loader.html',
      'Magento_Ui/js/core/renderer/types': 'Magento_Ui/js/core/renderer/types',
      'Magento_Ui/js/core/renderer/layout': 'Magento_Ui/js/core/renderer/layout',
      'Magento_Ui/js/core/app': 'Magento_Ui/js/core/app',
      'Magento_Company/js/validation': 'Magento_Company/js/validation',
      'Magento_CompanyCredit/js/validation': 'Magento_CompanyCredit/js/validation',
      'Magento_Search/js/form-mini': 'Magento_Search/js/form-mini',
      'Smile_ElasticsuiteCore/js/form-mini': 'Smile_ElasticsuiteCore/js/form-mini',
      'jquery-ui-modules/menu': 'jquery/ui-modules/menu',
      'mage/menu': 'mage/menu',
      'mage/url': 'mage/url',
      'mage/storage': 'mage/storage',
      'Magento_Customer/js/customer-data': 'Magento_Customer/js/customer-data',
      'text!Smile_ElasticsuiteCore/template/autocomplete/term.html': 'Smile_ElasticsuiteCore/template/autocomplete/term.html',
      'text!Smile_ElasticsuiteCatalog/template/autocomplete/product.html': 'Smile_ElasticsuiteCatalog/template/autocomplete/product.html',
      'text!Smile_ElasticsuiteCatalog/template/autocomplete/category.html': 'Smile_ElasticsuiteCatalog/template/autocomplete/category.html',
      'text!Smile_ElasticsuiteCatalog/template/autocomplete/product-attribute.html': 'Smile_ElasticsuiteCatalog/template/autocomplete/product-attribute.html',
      'Magento_PageBuilder/js/resource/jarallax/jarallax': 'Magento_PageBuilder/js/resource/jarallax/jarallax',
      'Magento_PageBuilder/js/events': 'Magento_PageBuilder/js/events',
      'Magento_PageBuilder/js/content-type/buttons/appearance/inline/widget': 'Magento_PageBuilder/js/content-type/buttons/appearance/inline/widget',
      'Magento_Ui/js/lib/core/element/links': 'Magento_Ui/js/lib/core/element/links',
      'Magento_Ui/js/lib/core/element/element': 'Magento_Ui/js/lib/core/element/element',
      'Magento_Customer/js/invalidation-processor': 'Magento_Customer/js/invalidation-processor',
      'Magento_Ui/js/lib/core/collection': 'Magento_Ui/js/lib/core/collection',
      'Magento_Tax/js/view/checkout/minicart/subtotal/totals': 'Magento_Tax/js/view/checkout/minicart/subtotal/totals',
      'Magento_Msrp/js/view/checkout/minicart/subtotal/totals': 'Magento_Msrp/js/view/checkout/minicart/subtotal/totals',
      'Magento_Catalog/js/view/image': 'Magento_Catalog/js/view/image',
      'Magento_Customer/js/view/customer': 'Magento_Customer/js/view/customer',
      'Smile_ElasticsuiteCatalog/js/autocomplete/product-attribute': 'Smile_ElasticsuiteCatalog/js/autocomplete/product-attribute',
      'jquery/jquery.metadata': 'jquery/jquery.metadata',
      'jquery/validate': 'jquery/jquery.validate',
      'mage/validation': 'mage/validation',
      'mage/validation/validation': 'mage/validation/validation',
      'Magento_Customer/js/model/authentication-popup': 'Magento_Customer/js/model/authentication-popup',
      'Magento_Captcha/js/model/captchaList': 'Magento_Captcha/js/model/captchaList',
      'Rossmc_StorefrontMessages/js/lib/toastr': 'Rossmc_StorefrontMessages/js/lib/toastr',
      'Rossmc_StorefrontMessages/js/view/messages': 'Rossmc_StorefrontMessages/js/view/messages',
      'Magento_ProductRecommendationsLayout/js/abstractRenderer': 'Magento_ProductRecommendationsLayout/js/abstractRenderer',
      'text!ui/template/collection.html': 'Magento_Ui/templates/collection.html',
      'Magento_Company/js/authorization': 'Magento_Company/js/authorization',
      'Magento_Company/js/view/company': 'Magento_Company/js/view/company',
      'MSP_ReCaptcha/js/registry': 'MSP_ReCaptcha/js/registry',
      'MSP_ReCaptcha/js/ui-messages-mixin': 'MSP_ReCaptcha/js/ui-messages-mixin',
      'Magento_Customer/js/invalidation-rules/website-rule': 'Magento_Customer/js/invalidation-rules/website-rule',
      'mage/decorate': 'mage/decorate',
      'Magento_Ui/js/lib/spinner': 'Magento_Ui/js/lib/spinner',
      'mage/requirejs/resolver': 'mage/requirejs/resolver',
      'Magento_ProductRecommendationsLayout/js/recsFetcher': 'Magento_ProductRecommendationsLayout/js/recsFetcher',
      'Magento_ProductRecommendationsLayout/js/layoutRenderer': 'Magento_ProductRecommendationsLayout/js/layoutRenderer',
      'text!Magento_Checkout/template/minicart/subtotal.html': 'Magento_Checkout/template/minicart/subtotal.html',
      'Magento_Catalog/js/product/storage/ids-storage': 'Magento_Catalog/js/product/storage/ids-storage',
      'Magento_Catalog/js/product/storage/ids-storage-compare': 'Magento_Catalog/js/product/storage/ids-storage-compare',
      'jquery-ui-modules/effect': 'jquery/ui-modules/effect',
      'jquery-ui-modules/effect-blind': 'jquery/ui-modules/effect-blind',
      'jquery-ui-modules/effect-fade': 'jquery/ui-modules/effect-fade',
      'Magento_Checkout/js/sidebar': 'Magento_Checkout/js/sidebar',
      'Magento_Checkout/js/view/minicart': 'Magento_Checkout/js/view/minicart',
      'Magento_PageBuilder/js/resource/vimeo/player': 'Magento_PageBuilder/js/resource/vimeo/player',
      'Magento_PageBuilder/js/resource/vimeo/vimeo-wrapper': 'Magento_PageBuilder/js/resource/vimeo/vimeo-wrapper',
      'text!Magento_Tax/template/checkout/minicart/subtotal/totals.html': 'Magento_Tax/template/checkout/minicart/subtotal/totals.html',
      'Magento_Captcha/js/action/refresh': 'Magento_Captcha/js/action/refresh',
      'Magento_Captcha/js/model/captcha': 'Magento_Captcha/js/model/captcha',
      'Magento_Captcha/js/view/checkout/defaultCaptcha': 'Magento_Captcha/js/view/checkout/defaultCaptcha',
      'Magento_Ui/js/model/messages': 'Magento_Ui/js/model/messages',
      'Magento_Ui/js/model/messageList': 'Magento_Ui/js/model/messageList',
      'Magento_Ui/js/view/messages': 'Magento_Ui/js/view/messages',
      'Magento_Customer/js/action/login': 'Magento_Customer/js/action/login',
      'Magento_Captcha/js/view/checkout/loginCaptcha': 'Magento_Captcha/js/view/checkout/loginCaptcha',
      'Magento_Catalog/js/product/query-builder': 'Magento_Catalog/js/product/query-builder',
      'Magento_Catalog/js/product/storage/data-storage': 'Magento_Catalog/js/product/storage/data-storage',
      'Magento_Catalog/js/product/storage/storage-service': 'Magento_Catalog/js/product/storage/storage-service',
      'Magento_Catalog/js/storage-manager': 'Magento_Catalog/js/storage-manager',
      'Magento_Ui/js/form/adapter/buttons': 'Magento_Ui/js/form/adapter/buttons',
      'Magento_Ui/js/form/adapter': 'Magento_Ui/js/form/adapter',
      'Magento_Ui/js/form/form': 'Magento_Ui/js/form/form',
      'Magento_Customer/js/view/authentication-popup': 'Magento_Customer/js/view/authentication-popup',
      'Magento_PageBuilder/js/resource/jarallax/jarallax-video': 'Magento_PageBuilder/js/resource/jarallax/jarallax-video',
      'Magento_PageBuilder/js/widget/video-background': 'Magento_PageBuilder/js/widget/video-background',
      'Magento_PageBuilder/js/content-type/row/appearance/default/widget': 'Magento_PageBuilder/js/content-type/row/appearance/default/widget',
      'text!Magento_Checkout/template/minicart/content.html': 'Magento_Checkout/template/minicart/content.html',
      'text!Magento_ProductRecommendationsLayout/template/recommendations.html': 'Magento_ProductRecommendationsLayout/template/recommendations.html',
      'text!Magento_Customer/template/authentication-popup.html': 'Magento_Customer/template/authentication-popup.html',
      'text!Magento_Ui/template/messages.html': 'Magento_Ui/template/messages.html',
      'text!Magento_Captcha/template/checkout/captcha.html': 'Magento_Captcha/template/checkout/captcha.html'
    }
  },
  {
    url: '',
    name: 'category',
    modules: {
      'Magento_Wishlist/js/add-to-wishlist': 'Magento_Wishlist/js/add-to-wishlist',
      'Magento_Catalog/js/product/list/toolbar': 'Magento_Catalog/js/product/list/toolbar',
      'rossmc/jquery-widgets/input-stepper': 'rossmc/jquery-widgets/input-stepper',
      'mage/accordion': 'mage/accordion',
      'Magento_Cookie/js/require-cookie': 'Magento_Cookie/js/require-cookie',
      'Smile_ElasticsuiteCatalog/js/range-slider-widget': 'Smile_ElasticsuiteCatalog/js/range-slider-widget',
      'Rossmc_LoadMore/js/load-more': 'Rossmc_LoadMore/js/load-more',
      'Rossmc_CatalogProductLoadMoreFrontendUi/js/catalog-product-load-more': 'Rossmc_CatalogProductLoadMoreFrontendUi/js/catalog-product-load-more',
      'Rossmc_DynamicCatalogPriceFrontendUi/js/price-data': 'Rossmc_DynamicCatalogPriceFrontendUi/js/price-data',
      'Rossmc_DynamicPriceLoadMore/js/catalog-product-load-more-mixin': 'Rossmc_DynamicPriceLoadMore/js/catalog-product-load-more-mixin',
      'Magento_Catalog/js/product/view/product-ids': 'Magento_Catalog/js/product/view/product-ids',
      'Magento_Catalog/js/product/view/product-ids-resolver': 'Magento_Catalog/js/product/view/product-ids-resolver',
      'Magento_Catalog/js/catalog-add-to-cart': 'Magento_Catalog/js/catalog-add-to-cart',
      dataServicesBase: '',
      'Magento_RequisitionList/js/requisition/list/edit/form': 'Magento_RequisitionList/js/requisition/list/edit/form',
      recommendationsSDK: '',
      'Magento_Ui/js/modal/modal-component': 'Magento_Ui/js/modal/modal-component',
      'Magento_RequisitionList/js/modal/modal-component': 'Magento_RequisitionList/js/modal/modal-component',
      'Magento_RequisitionList/js/requisition/list/edit/modal': 'Magento_RequisitionList/js/requisition/list/edit/modal',
      'text!ui/template/modal/modal-component.html': 'Magento_Ui/templates/modal/modal-component.html'
    }
  },
  {
    url: '',
    name: 'cms',
    modules: {
      'mage/accordion': 'mage/accordion',
      'Magento_Theme/js/footer-accordion': 'Magento_Theme/js/footer-accordion',
      recommendationsSDK: '',
      dataServicesBase: '',
      'Magento_PageBuilder/js/utils/breakpoints': 'Magento_PageBuilder/js/utils/breakpoints',
      'Magento_PageBuilder/js/resource/slick/slick': 'Magento_PageBuilder/js/resource/slick/slick',
      'Magento_PageBuilder/js/content-type/products/appearance/carousel/widget': 'Magento_PageBuilder/js/content-type/products/appearance/carousel/widget'
    }
  },
  {
    url: [],
    name: 'product',
    modules: {
      'Magento_Wishlist/js/add-to-wishlist': 'Magento_Wishlist/js/add-to-wishlist',
      'rossmc/jquery-widgets/input-stepper': 'rossmc/jquery-widgets/input-stepper',
      'Magento_Cookie/js/require-cookie': 'Magento_Cookie/js/require-cookie',
      'text!Magento_Theme/templates/breadcrumbs.html': 'Magento_Theme/templates/breadcrumbs.html',
      'Magento_Catalog/js/gallery': 'Magento_Catalog/js/gallery',
      'Magento_ProductVideo/js/load-player': 'Magento_ProductVideo/js/load-player',
      'Magento_ProductVideo/js/fotorama-add-video-events': 'Magento_ProductVideo/js/fotorama-add-video-events',
      'Magento_Catalog/js/price-box': 'Magento_Catalog/js/price-box',
      'magnifier/magnifier': 'magnifier/magnifier',
      'magnifier/magnify': 'magnifier/magnify',
      recommendationsSDK: '',
      dataServicesBase: '',
      'Rossmc_DynamicCatalogPriceFrontendUi/js/price-data': 'Rossmc_DynamicCatalogPriceFrontendUi/js/price-data',
      'Rossmc_DynamicCatalogPriceFrontendUi/js/price-box-mixin': 'Rossmc_DynamicCatalogPriceFrontendUi/js/price-box-mixin',
      'Magento_Theme/js/model/breadcrumb-list': 'Magento_Theme/js/model/breadcrumb-list',
      'Magento_Theme/js/view/breadcrumbs': 'Magento_Theme/js/view/breadcrumbs',
      'Magento_Theme/js/view/add-home-breadcrumb': 'Magento_Theme/js/view/add-home-breadcrumb',
      'Magento_Catalog/js/product/breadcrumbs': 'Magento_Catalog/js/product/breadcrumbs',
      'Magento_RequisitionList/js/requisition/list/edit/form': 'Magento_RequisitionList/js/requisition/list/edit/form',
      'Magento_Catalog/js/product/view/product-ids': 'Magento_Catalog/js/product/view/product-ids',
      'Magento_Catalog/js/product/view/product-ids-resolver': 'Magento_Catalog/js/product/view/product-ids-resolver',
      'Magento_Catalog/js/catalog-add-to-cart': 'Magento_Catalog/js/catalog-add-to-cart',
      'text!Magento_InstantPurchase/template/confirmation.html': 'Magento_InstantPurchase/template/confirmation.html',
      'text!mage/gallery/gallery.html': 'mage/gallery/gallery.html',
      'Magento_Catalog/product/view/validation': 'Magento_Catalog/product/view/validation',
      'Magento_Catalog/js/validate-product': 'Magento_Catalog/js/validate-product',
      'Magento_InstantPurchase/js/view/instant-purchase': 'Magento_InstantPurchase/js/view/instant-purchase',
      'fotorama/fotorama': 'fotorama/fotorama',
      'mage/gallery/gallery': 'mage/gallery/gallery',
      'Magento_Ui/js/modal/modal-component': 'Magento_Ui/js/modal/modal-component',
      'Magento_RequisitionList/js/modal/modal-component': 'Magento_RequisitionList/js/modal/modal-component',
      'Magento_RequisitionList/js/requisition/list/edit/modal': 'Magento_RequisitionList/js/requisition/list/edit/modal',
      'text!Magento_InstantPurchase/template/instant-purchase.html': 'Magento_InstantPurchase/template/instant-purchase.html',
      'text!ui/template/modal/modal-component.html': 'Magento_Ui/templates/modal/modal-component.html'
    }
  },
  {
    url: {},
    name: 'checkout',
    modules: {
      'mage/sticky': 'mage/sticky',
      'Magento_Checkout/js/shopping-cart': 'Magento_Checkout/js/shopping-cart',
      'Magento_Checkout/js/discount-codes': 'Magento_Checkout/js/discount-codes',
      'Rossmc_CartUpdate/js/action/ajax/validate-cart': 'Rossmc_CartUpdate/js/action/ajax/validate-cart',
      'Rossmc_CartUpdate/js/action/utility': 'Rossmc_CartUpdate/js/action/utility',
      recommendationsSDK: '',
      dataServicesBase: '',
      'Magento_Checkout/js/proceed-to-checkout': 'Magento_Checkout/js/proceed-to-checkout',
      'Magento_RequisitionList/js/requisition/list/edit/form': 'Magento_RequisitionList/js/requisition/list/edit/form',
      'Magento_Checkout/js/action/update-shopping-cart': 'Magento_Checkout/js/action/update-shopping-cart',
      'Magento_Checkout/js/model/quote': 'Magento_Checkout/js/model/quote',
      'Magento_Tax/js/view/checkout/shipping_method/price': 'Magento_Tax/js/view/checkout/shipping_method/price',
      'Magento_Checkout/js/model/totals': 'Magento_Checkout/js/model/totals',
      'Vertex_Tax/js/view/checkout/summary/tax-messages': 'Vertex_Tax/js/view/checkout/summary/tax-messages',
      'Magento_NegotiableQuote/js/model/resource-url-manager-mixin': 'Magento_NegotiableQuote/js/model/resource-url-manager-mixin',
      'Magento_Dhl/js/model/shipping-rates-validation-rules': 'Magento_Dhl/js/model/shipping-rates-validation-rules',
      'Magento_Checkout/js/model/shipping-rates-validation-rules': 'Magento_Checkout/js/model/shipping-rates-validation-rules',
      'Magento_Fedex/js/model/shipping-rates-validation-rules': 'Magento_Fedex/js/model/shipping-rates-validation-rules',
      'Magento_Fedex/js/model/shipping-rates-validator': 'Magento_Fedex/js/model/shipping-rates-validator',
      'Magento_Dhl/js/model/shipping-rates-validator': 'Magento_Dhl/js/model/shipping-rates-validator',
      'Magento_Ups/js/model/shipping-rates-validation-rules': 'Magento_Ups/js/model/shipping-rates-validation-rules',
      'Magento_Ups/js/model/shipping-rates-validator': 'Magento_Ups/js/model/shipping-rates-validator',
      'Magento_OfflineShipping/js/model/shipping-rates-validation-rules/tablerate': 'Magento_OfflineShipping/js/model/shipping-rates-validation-rules/tablerate',
      'Magento_OfflineShipping/js/model/shipping-rates-validator/tablerate': 'Magento_OfflineShipping/js/model/shipping-rates-validator/tablerate',
      'Magento_OfflineShipping/js/model/shipping-rates-validation-rules/flatrate': 'Magento_OfflineShipping/js/model/shipping-rates-validation-rules/flatrate',
      'Magento_OfflineShipping/js/model/shipping-rates-validator/flatrate': 'Magento_OfflineShipping/js/model/shipping-rates-validator/flatrate',
      'Magento_Checkout/js/action/select-shipping-method': 'Magento_Checkout/js/action/select-shipping-method',
      'WebShopApps_MatrixRate/js/model/shipping-rates-validation-rules': 'WebShopApps_MatrixRate/js/model/shipping-rates-validation-rules',
      'WebShopApps_MatrixRate/js/model/shipping-rates-validator': 'WebShopApps_MatrixRate/js/model/shipping-rates-validator',
      'Magento_Usps/js/model/shipping-rates-validation-rules': 'Magento_Usps/js/model/shipping-rates-validation-rules',
      'Magento_Usps/js/model/shipping-rates-validator': 'Magento_Usps/js/model/shipping-rates-validator',
      'Magento_NegotiableQuote/js/model/shipping-service-mixin': 'Magento_NegotiableQuote/js/model/shipping-service-mixin',
      'Magento_OfflineShipping/js/model/shipping-rates-validation-rules/freeshipping': 'Magento_OfflineShipping/js/model/shipping-rates-validation-rules/freeshipping',
      'Vertex_AddressValidation/js/shipping-invalidate-mixin': 'Vertex_AddressValidation/js/shipping-invalidate-mixin',
      'Magento_Checkout/js/checkout-data': 'Magento_Checkout/js/checkout-data',
      'Magento_GiftMessage/js/model/gift-options': 'Magento_GiftMessage/js/model/gift-options',
      'Magento_GiftMessage/js/model/gift-message': 'Magento_GiftMessage/js/model/gift-message',
      'Magento_OfflineShipping/js/model/shipping-rates-validator/freeshipping': 'Magento_OfflineShipping/js/model/shipping-rates-validator/freeshipping',
      'Magento_GiftWrapping/js/model/gift-wrapping-collection': 'Magento_GiftWrapping/js/model/gift-wrapping-collection',
      'Magento_CompanyCredit/js/view/checkout/summary/grand-total': 'Magento_CompanyCredit/js/view/checkout/summary/grand-total',
      'Magento_Checkout/js/model/url-builder': 'Magento_Checkout/js/model/url-builder',
      'Magento_Checkout/js/model/shipping-address/form-popup-state': 'Magento_Checkout/js/model/shipping-address/form-popup-state',
      'Magento_Checkout/js/action/select-shipping-address': 'Magento_Checkout/js/action/select-shipping-address',
      'Magento_Checkout/js/model/postcode-validator': 'Magento_Checkout/js/model/postcode-validator',
      'Magento_Checkout/js/model/default-post-code-resolver': 'Magento_Checkout/js/model/default-post-code-resolver',
      'Magento_GiftMessage/js/model/url-builder': 'Magento_GiftMessage/js/model/url-builder',
      'Magento_Checkout/js/model/cart/cache': 'Magento_Checkout/js/model/cart/cache',
      'Magento_GiftWrapping/js/model/gift-wrapping': 'Magento_GiftWrapping/js/model/gift-wrapping',
      'Magento_GiftWrapping/js/view/gift-wrapping': 'Magento_GiftWrapping/js/view/gift-wrapping',
      'Magento_Braintree/js/model/step-navigator-mixin': 'Magento_Braintree/js/model/step-navigator-mixin',
      'Magento_Checkout/js/model/step-navigator': 'Magento_Checkout/js/model/step-navigator',
      'Magento_Checkout/js/view/summary/abstract-total': 'Magento_Checkout/js/view/summary/abstract-total',
      'Magento_Tax/js/view/checkout/summary/subtotal': 'Magento_Tax/js/view/checkout/summary/subtotal',
      'Magento_SalesRule/js/view/summary/discount': 'Magento_SalesRule/js/view/summary/discount',
      'Magento_SalesRule/js/view/cart/totals/discount': 'Magento_SalesRule/js/view/cart/totals/discount',
      'Magento_Tax/js/view/checkout/summary/tax': 'Magento_Tax/js/view/checkout/summary/tax',
      'Magento_Tax/js/view/checkout/cart/totals/tax': 'Magento_Tax/js/view/checkout/cart/totals/tax',
      'Magento_Reward/js/view/summary/reward': 'Magento_Reward/js/view/summary/reward',
      'Magento_Reward/js/view/cart/reward': 'Magento_Reward/js/view/cart/reward',
      'Magento_GiftWrapping/js/view/summary/totals': 'Magento_GiftWrapping/js/view/summary/totals',
      'Magento_GiftWrapping/js/view/checkout/cart/totals': 'Magento_GiftWrapping/js/view/checkout/cart/totals',
      'Magento_Weee/js/view/checkout/summary/weee': 'Magento_Weee/js/view/checkout/summary/weee',
      'Magento_Weee/js/view/cart/totals/weee': 'Magento_Weee/js/view/cart/totals/weee',
      'Magento_Tax/js/view/checkout/summary/grand-total': 'Magento_Tax/js/view/checkout/summary/grand-total',
      'Magento_Tax/js/view/checkout/cart/totals/grand-total': 'Magento_Tax/js/view/checkout/cart/totals/grand-total',
      'Magento_Checkout/js/view/summary/shipping': 'Magento_Checkout/js/view/summary/shipping',
      'Magento_Tax/js/view/checkout/summary/shipping': 'Magento_Tax/js/view/checkout/summary/shipping',
      'Magento_Tax/js/view/checkout/cart/totals/shipping': 'Magento_Tax/js/view/checkout/cart/totals/shipping',
      'Magento_Ui/js/modal/modal-component': 'Magento_Ui/js/modal/modal-component',
      'Magento_RequisitionList/js/modal/modal-component': 'Magento_RequisitionList/js/modal/modal-component',
      'Magento_RequisitionList/js/requisition/list/edit/modal': 'Magento_RequisitionList/js/requisition/list/edit/modal',
      'Magento_Checkout/js/model/error-processor': 'Magento_Checkout/js/model/error-processor',
      'Magento_GiftMessage/js/action/gift-options': 'Magento_GiftMessage/js/action/gift-options',
      'Magento_GiftMessage/js/view/gift-message': 'Magento_GiftMessage/js/view/gift-message',
      'Magento_Checkout/js/model/new-customer-address': 'Magento_Checkout/js/model/new-customer-address',
      'Magento_Checkout/js/model/address-converter': 'Magento_Checkout/js/model/address-converter',
      'Magento_Checkout/js/model/full-screen-loader': 'Magento_Checkout/js/model/full-screen-loader',
      'Magento_Checkout/js/action/create-billing-address': 'Magento_Checkout/js/action/create-billing-address',
      'Magento_Checkout/js/action/select-billing-address': 'Magento_Checkout/js/action/select-billing-address',
      'Magento_Checkout/js/model/default-validation-rules': 'Magento_Checkout/js/model/default-validation-rules',
      'Magento_Checkout/js/model/default-validator': 'Magento_Checkout/js/model/default-validator',
      'Magento_Checkout/js/model/shipping-rates-validator': 'Magento_Checkout/js/model/shipping-rates-validator',
      'Magento_Fedex/js/view/shipping-rates-validation': 'Magento_Fedex/js/view/shipping-rates-validation',
      'Magento_Dhl/js/view/shipping-rates-validation': 'Magento_Dhl/js/view/shipping-rates-validation',
      'Magento_OfflineShipping/js/view/shipping-rates-validation/tablerate': 'Magento_OfflineShipping/js/view/shipping-rates-validation/tablerate',
      'Magento_OfflineShipping/js/view/shipping-rates-validation/flatrate': 'Magento_OfflineShipping/js/view/shipping-rates-validation/flatrate',
      'WebShopApps_MatrixRate/js/view/shipping-rates-validation': 'WebShopApps_MatrixRate/js/view/shipping-rates-validation',
      'Magento_Ups/js/view/shipping-rates-validation': 'Magento_Ups/js/view/shipping-rates-validation',
      'Magento_Usps/js/view/shipping-rates-validation': 'Magento_Usps/js/view/shipping-rates-validation',
      'Magento_OfflineShipping/js/view/shipping-rates-validation/freeshipping': 'Magento_OfflineShipping/js/view/shipping-rates-validation/freeshipping',
      'Magento_Checkout/js/action/select-payment-method': 'Magento_Checkout/js/action/select-payment-method',
      'Magento_Ui/js/lib/validation/utils': 'Magento_Ui/js/lib/validation/utils',
      'Magento_Ui/js/lib/validation/rules': 'Magento_Ui/js/lib/validation/rules',
      'Magento_Ui/js/lib/validation/validator': 'Magento_Ui/js/lib/validation/validator',
      'Magento_Ui/js/form/element/abstract': 'Magento_Ui/js/form/element/abstract',
      'Magento_Ui/js/form/element/select': 'Magento_Ui/js/form/element/select',
      'Magento_Ui/js/form/element/region': 'Magento_Ui/js/form/element/region',
      'text!ui/template/modal/modal-component.html': 'Magento_Ui/templates/modal/modal-component.html',
      'text!Magento_GiftMessage/template/gift-message-item-level.html': 'Magento_GiftMessage/template/gift-message-item-level.html',
      'Magento_GiftCardAccount/js/model/payment/gift-card-messages': 'Magento_GiftCardAccount/js/model/payment/gift-card-messages',
      'text!Magento_GiftMessage/template/gift-message.html': 'Magento_GiftMessage/template/gift-message.html',
      'Magento_Checkout/js/model/payment/method-list': 'Magento_Checkout/js/model/payment/method-list',
      'Magento_SalesRule/js/model/payment/discount-messages': 'Magento_SalesRule/js/model/payment/discount-messages',
      'Magento_SalesRule/js/model/coupon': 'Magento_SalesRule/js/model/coupon',
      'Klarna_Kp/js/model/config': 'Klarna_Kp/js/model/config',
      'Klarna_Kp/js/action/override': 'Klarna_Kp/js/action/override',
      'Magento_Checkout/js/model/payment/method-converter': 'Magento_Checkout/js/model/payment/method-converter',
      'Magento_NegotiableQuote/js/action/set-payment-information-mixin': 'Magento_NegotiableQuote/js/action/set-payment-information-mixin',
      'Magento_Checkout/js/model/shipping-rate-registry': 'Magento_Checkout/js/model/shipping-rate-registry',
      'Magento_CheckoutAgreements/js/model/agreements-assigner': 'Magento_CheckoutAgreements/js/model/agreements-assigner',
      'Magento_CheckoutAgreements/js/model/set-payment-information-mixin': 'Magento_CheckoutAgreements/js/model/set-payment-information-mixin',
      'Magento_Customer/js/model/customer/address': 'Magento_Customer/js/model/customer/address',
      'Magento_Customer/js/model/customer-addresses': 'Magento_Customer/js/model/customer-addresses',
      'Magento_Customer/js/model/address-list': 'Magento_Customer/js/model/address-list',
      'Magento_Customer/js/model/customer': 'Magento_Customer/js/model/customer',
      'Magento_Checkout/js/model/resource-url-manager': 'Magento_Checkout/js/model/resource-url-manager',
      'Magento_Checkout/js/action/get-totals': 'Magento_Checkout/js/action/get-totals',
      'Rossmc_CartUpdate/js/action/ajax/update-cart': 'Rossmc_CartUpdate/js/action/ajax/update-cart',
      'Rossmc_CartUpdate/js/ajax-cart': 'Rossmc_CartUpdate/js/ajax-cart',
      'Magento_Checkout/js/model/cart/totals-processor/default': 'Magento_Checkout/js/model/cart/totals-processor/default',
      'Magento_Checkout/js/action/create-shipping-address': 'Magento_Checkout/js/action/create-shipping-address',
      'Magento_Checkout/js/action/set-payment-information-extended': 'Magento_Checkout/js/action/set-payment-information-extended',
      'Magento_Checkout/js/action/set-payment-information': 'Magento_Checkout/js/action/set-payment-information',
      'Magento_SalesRule/js/action/select-payment-method-mixin': 'Magento_SalesRule/js/action/select-payment-method-mixin',
      'Magento_Checkout/js/model/payment-service': 'Magento_Checkout/js/model/payment-service',
      'Magento_Checkout/js/model/checkout-data-resolver': 'Magento_Checkout/js/model/checkout-data-resolver',
      'Magento_Checkout/js/model/shipping-service': 'Magento_Checkout/js/model/shipping-service',
      'Magento_Checkout/js/view/cart/totals': 'Magento_Checkout/js/view/cart/totals',
      'Magento_Checkout/js/view/cart/shipping-rates': 'Magento_Checkout/js/view/cart/shipping-rates',
      'Magento_Checkout/js/model/shipping-rate-processor/new-address': 'Magento_Checkout/js/model/shipping-rate-processor/new-address',
      'Magento_Checkout/js/model/cart/estimate-service': 'Magento_Checkout/js/model/cart/estimate-service',
      'Magento_Checkout/js/view/cart/shipping-estimation': 'Magento_Checkout/js/view/cart/shipping-estimation',
      'Magento_NegotiableQuote/js/action/get-payment-information-mixin': 'Magento_NegotiableQuote/js/action/get-payment-information-mixin',
      'Magento_Checkout/js/action/get-payment-information': 'Magento_Checkout/js/action/get-payment-information',
      'Magento_CustomerBalance/js/action/remove-balance': 'Magento_CustomerBalance/js/action/remove-balance',
      'Magento_NegotiableQuote/js/action/remove-gift-card-from-quote-mixin': 'Magento_NegotiableQuote/js/action/remove-gift-card-from-quote-mixin',
      'Magento_GiftCardAccount/js/action/remove-gift-card-from-quote': 'Magento_GiftCardAccount/js/action/remove-gift-card-from-quote',
      'Magento_GiftCardAccount/js/view/summary/gift-card-account': 'Magento_GiftCardAccount/js/view/summary/gift-card-account',
      'Magento_GiftCardAccount/js/view/cart/totals/gift-card-account': 'Magento_GiftCardAccount/js/view/cart/totals/gift-card-account',
      'Magento_CustomerBalance/js/action/use-balance': 'Magento_CustomerBalance/js/action/use-balance',
      'Magento_CustomerBalance/js/view/payment/customer-balance': 'Magento_CustomerBalance/js/view/payment/customer-balance',
      'Magento_CustomerBalance/js/view/summary/customer-balance': 'Magento_CustomerBalance/js/view/summary/customer-balance',
      'Magento_CustomerBalance/js/view/cart/summary/customer-balance': 'Magento_CustomerBalance/js/view/cart/summary/customer-balance',
      'text!Magento_Checkout/template/cart/totals.html': 'Magento_Checkout/template/cart/totals.html',
      'text!Magento_Checkout/template/cart/shipping-estimation.html': 'Magento_Checkout/template/cart/shipping-estimation.html',
      'text!Magento_Checkout/template/cart/shipping-rates.html': 'Magento_Checkout/template/cart/shipping-rates.html',
      'text!Magento_Tax/template/checkout/summary/subtotal.html': 'Magento_Tax/template/checkout/summary/subtotal.html',
      'text!Magento_GiftCardAccount/template/cart/totals/gift-card-account.html': 'Magento_GiftCardAccount/template/cart/totals/gift-card-account.html',
      'text!Magento_GiftWrapping/template/summary/totals.html': 'Magento_GiftWrapping/template/summary/totals.html',
      'text!Magento_SalesRule/template/cart/totals/discount.html': 'Magento_SalesRule/template/cart/totals/discount.html',
      'text!Magento_Reward/template/cart/reward.html': 'Magento_Reward/template/cart/reward.html',
      'text!Magento_Weee/template/checkout/summary/weee.html': 'Magento_Weee/template/checkout/summary/weee.html',
      'text!Magento_Tax/template/checkout/cart/totals/shipping.html': 'Magento_Tax/template/checkout/cart/totals/shipping.html',
      'text!Magento_Tax/template/checkout/cart/totals/tax.html': 'Magento_Tax/template/checkout/cart/totals/tax.html',
      'text!Magento_CustomerBalance/template/cart/summary/customer-balance.html': 'Magento_CustomerBalance/template/cart/summary/customer-balance.html',
      'text!Vertex_Tax/template/checkout/cart/totals/tax-messages.html': 'Vertex_Tax/template/checkout/cart/totals/tax-messages.html',
      'text!Magento_Tax/template/checkout/cart/totals/grand-total.html': 'Magento_Tax/template/checkout/cart/totals/grand-total.html',
      'text!ui/template/form/field.html': 'Magento_Ui/templates/form/field.html',
      'text!ui/template/form/element/select.html': 'Magento_Ui/templates/form/element/select.html',
      'text!ui/template/form/element/input.html': 'Magento_Ui/templates/form/element/input.html',
      'text!Magento_Checkout/template/minicart/item/default.html': 'Magento_Checkout/template/minicart/item/default.html',
      'text!Magento_Catalog/template/product/image_with_borders.html': 'Magento_Catalog/template/product/image_with_borders.html',
      'text!Magento_Checkout/template/minicart/item/price.html': 'Magento_Checkout/template/minicart/item/price.html',
      'text!Magento_Tax/template/checkout/shipping_method/price.html': 'Magento_Tax/template/checkout/shipping_method/price.html',
      'Magento_Checkout/js/checkout-loader': 'Magento_Checkout/js/checkout-loader',
      'Vertex_AddressValidation/js/view/validation-message': 'Vertex_AddressValidation/js/view/validation-message',
      'Magento_Reward/js/view/authentication/tooltip': 'Magento_Reward/js/view/authentication/tooltip',
      'Magento_Ui/js/form/components/group': 'Magento_Ui/js/form/components/group',
      'text!Magento_Checkout/template/onepage.html': 'Magento_Checkout/template/onepage.html',
      'Magento_Checkout/js/view/summary/item/details/thumbnail': 'Magento_Checkout/js/view/summary/item/details/thumbnail',
      'Magento_Checkout/js/view/summary/item/details': 'Magento_Checkout/js/view/summary/item/details',
      'Magento_Checkout/js/view/summary/item/details/message': 'Magento_Checkout/js/view/summary/item/details/message',
      'Magento_Checkout/js/view/shipping-information/list': 'Magento_Checkout/js/view/shipping-information/list',
      'Magento_Checkout/js/model/payment/additional-validators': 'Magento_Checkout/js/model/payment/additional-validators',
      'Magento_Checkout/js/model/payment/renderer-list': 'Magento_Checkout/js/model/payment/renderer-list',
      'Magento_Payment/js/view/payment/payments': 'Magento_Payment/js/view/payment/payments',
      'Magento_Paypal/js/view/payment/paypal-payments': 'Magento_Paypal/js/view/payment/paypal-payments',
      'Magento_OfflinePayments/js/view/payment/offline-payments': 'Magento_OfflinePayments/js/view/payment/offline-payments',
      'Magento_Checkout/js/view/summary': 'Magento_Checkout/js/view/summary',
      'Magento_GiftCardAccount/js/view/payment/gift-card-information': 'Magento_GiftCardAccount/js/view/payment/gift-card-information',
      'Magento_CheckoutAgreements/js/model/agreements-modal': 'Magento_CheckoutAgreements/js/model/agreements-modal',
      'Magento_CheckoutAgreements/js/view/checkout-agreements': 'Magento_CheckoutAgreements/js/view/checkout-agreements',
      'Magento_Checkout/js/view/summary/cart-items': 'Magento_Checkout/js/view/summary/cart-items',
      'MSP_ReCaptcha/js/reCaptcha': 'MSP_ReCaptcha/js/reCaptcha',
      'Magento_PaypalReCaptcha/js/paypalReCaptcha': 'Magento_PaypalReCaptcha/js/paypalReCaptcha',
      'Magento_Shipping/js/model/config': 'Magento_Shipping/js/model/config',
      'Magento_Shipping/js/view/checkout/shipping/shipping-policy': 'Magento_Shipping/js/view/checkout/shipping/shipping-policy',
      'Magento_PaypalCaptcha/js/view/payment/list-mixin': 'Magento_PaypalCaptcha/js/view/payment/list-mixin',
      'Magento_Checkout/js/view/summary/totals': 'Magento_Checkout/js/view/summary/totals',
      'Magento_CompanyCredit/js/view/checkout/summary/payment-total': 'Magento_CompanyCredit/js/view/checkout/summary/payment-total',
      'Vertex_AddressValidation/js/billing-validation-mixin': 'Vertex_AddressValidation/js/billing-validation-mixin',
      'Magento_Customer/js/action/check-email-availability': 'Magento_Customer/js/action/check-email-availability',
      'Magento_GiftRegistry/js/model/recipient-address': 'Magento_GiftRegistry/js/model/recipient-address',
      'Magento_PaypalCaptcha/js/view/checkout/paymentCaptcha': 'Magento_PaypalCaptcha/js/view/checkout/paymentCaptcha',
      'Magento_Weee/js/view/checkout/summary/item/price/weee': '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_incl_tax',
      'Magento_Weee/js/view/checkout/summary/item/price/row_excl_tax': 'Magento_Weee/js/view/checkout/summary/item/price/row_excl_tax',
      'Magento_Checkout/js/view/summary/item/details/subtotal': 'Magento_Checkout/js/view/summary/item/details/subtotal',
      'Magento_Tax/js/view/checkout/summary/item/details/subtotal': 'Magento_Tax/js/view/checkout/summary/item/details/subtotal',
      'Vertex_AddressValidation/js/model/customer/address-resolver': 'Vertex_AddressValidation/js/model/customer/address-resolver',
      'Magento_Checkout/js/model/sidebar': 'Magento_Checkout/js/model/sidebar',
      'Magento_Checkout/js/view/sidebar': 'Magento_Checkout/js/view/sidebar',
      'Vertex_AddressValidation/js/shipping-validation-mixin': 'Vertex_AddressValidation/js/shipping-validation-mixin',
      'Magento_GiftCardAccount/js/model/gift-card': 'Magento_GiftCardAccount/js/model/gift-card',
      'Vertex_AddressValidation/js/model/url-builder': 'Vertex_AddressValidation/js/model/url-builder',
      'Vertex_AddressValidation/js/action/address-validation-request': 'Vertex_AddressValidation/js/action/address-validation-request',
      'Magento_Checkout/js/model/authentication-messages': 'Magento_Checkout/js/model/authentication-messages',
      'Amazon_Payment/js/model/amazonPaymentConfig': 'Amazon_Payment/js/model/amazonPaymentConfig',
      'Magento_Checkout/js/model/billing-address-postcode-validator': 'Magento_Checkout/js/model/billing-address-postcode-validator',
      'Magento_Checkout/js/action/recollect-shipping-rates': 'Magento_Checkout/js/action/recollect-shipping-rates',
      'Magento_SalesRule/js/view/payment/discount-messages': 'Magento_SalesRule/js/view/payment/discount-messages',
      'Magento_GiftCardAccount/js/view/payment/gift-card-messages': 'Magento_GiftCardAccount/js/view/payment/gift-card-messages',
      'Magento_Checkout/js/view/authentication-messages': 'Magento_Checkout/js/view/authentication-messages',
      'Magento_CheckoutAgreements/js/model/agreement-validator': 'Magento_CheckoutAgreements/js/model/agreement-validator',
      'Magento_CheckoutAgreements/js/view/agreement-validation': 'Magento_CheckoutAgreements/js/view/agreement-validation',
      'Vertex_AddressValidation/js/model/checkout/billing/address-resolver': 'Vertex_AddressValidation/js/model/checkout/billing/address-resolver',
      'Magento_Checkout/js/view/form/element/email': 'Magento_Checkout/js/view/form/element/email',
      'Amazon_Payment/js/view/form/element/email': 'Amazon_Payment/js/view/form/element/email',
      'Magento_Checkout/js/view/billing-address/list': 'Magento_Checkout/js/view/billing-address/list',
      'Magento_Checkout/js/view/authentication': 'Magento_Checkout/js/view/authentication',
      'Magento_Checkout/js/model/customer-email-validator': 'Magento_Checkout/js/model/customer-email-validator',
      'Magento_Checkout/js/view/payment/email-validator': 'Magento_Checkout/js/view/payment/email-validator',
      'Magento_GiftRegistry/js/model/resource-url-manager': 'Magento_GiftRegistry/js/model/resource-url-manager',
      'Magento_GiftCardAccount/js/action/get-gift-card-information': 'Magento_GiftCardAccount/js/action/get-gift-card-information',
      'Vertex_AddressValidation/js/model/checkout/shipping/address-resolver': 'Vertex_AddressValidation/js/model/checkout/shipping/address-resolver',
      'Vertex_AddressValidation/js/view/checkout/shipping/address-validation': 'Vertex_AddressValidation/js/view/checkout/shipping/address-validation',
      'Vertex_AddressValidation/js/view/checkout/billing/address-validation': 'Vertex_AddressValidation/js/view/checkout/billing/address-validation',
      'Magento_Ui/js/form/element/post-code': 'Magento_Ui/js/form/element/post-code',
      'Amazon_Payment/js/amazon-widgets-loader': 'Amazon_Payment/js/amazon-widgets-loader',
      'Amazon_Payment/js/amazon-core': 'Amazon_Payment/js/amazon-core',
      'Amazon_Payment/js/model/storage': 'Amazon_Payment/js/model/storage',
      'Amazon_Payment/js/view/shipping-address/inline-form': 'Amazon_Payment/js/view/shipping-address/inline-form',
      'Magento_Checkout/js/model/shipping-save-processor/payload-extender': 'Magento_Checkout/js/model/shipping-save-processor/payload-extender',
      'Magento_SalesRule/js/action/set-coupon-code': 'Magento_SalesRule/js/action/set-coupon-code',
      'Magento_SalesRule/js/action/cancel-coupon': 'Magento_SalesRule/js/action/cancel-coupon',
      'Magento_SalesRule/js/view/payment/captcha': 'Magento_SalesRule/js/view/payment/captcha',
      'Magento_SalesRule/js/view/payment/discount': 'Magento_SalesRule/js/view/payment/discount',
      dataServicesDiscount: '',
      'Magento_NegotiableQuote/js/view/payment/discount': 'Magento_NegotiableQuote/js/view/payment/discount',
      'Magento_Reward/js/action/set-use-reward-points': 'Magento_Reward/js/action/set-use-reward-points',
      'Magento_Reward/js/view/payment/reward': 'Magento_Reward/js/view/payment/reward',
      'Magento_NegotiableQuote/js/action/set-gift-card-information-mixin': 'Magento_NegotiableQuote/js/action/set-gift-card-information-mixin',
      'Magento_GiftCardAccount/js/action/set-gift-card-information': 'Magento_GiftCardAccount/js/action/set-gift-card-information',
      'Magento_GiftCardAccount/js/view/payment/gift-card-account': 'Magento_GiftCardAccount/js/view/payment/gift-card-account',
      'Magento_NegotiableQuote/js/view/payment/gift-card-account': 'Magento_NegotiableQuote/js/view/payment/gift-card-account',
      'Magento_Checkout/js/action/set-billing-address': 'Magento_Checkout/js/action/set-billing-address',
      'Magento_NegotiableQuote/js/action/set-billing-address-mixin': 'Magento_NegotiableQuote/js/action/set-billing-address-mixin',
      'Magento_GiftRegistry/js/model/shipping-save-processor/gift-registry': 'Magento_GiftRegistry/js/model/shipping-save-processor/gift-registry',
      'Magento_Checkout/js/model/shipping-save-processor/default': 'Magento_Checkout/js/model/shipping-save-processor/default',
      'Magento_Checkout/js/model/shipping-save-processor': 'Magento_Checkout/js/model/shipping-save-processor',
      'Magento_Checkout/js/action/set-shipping-information': 'Magento_Checkout/js/action/set-shipping-information',
      'Magento_Checkout/js/view/payment': 'Magento_Checkout/js/view/payment',
      'Magento_Checkout/js/view/payment/list': 'Magento_Checkout/js/view/payment/list',
      'Magento_Checkout/js/view/billing-address': 'Magento_Checkout/js/view/billing-address',
      'Magento_GiftRegistry/js/model/shipping-rate-processor/gift-registry': 'Magento_GiftRegistry/js/model/shipping-rate-processor/gift-registry',
      'Magento_Checkout/js/model/shipping-rate-processor/customer-address': 'Magento_Checkout/js/model/shipping-rate-processor/customer-address',
      'Magento_Checkout/js/model/shipping-rate-service': 'Magento_Checkout/js/model/shipping-rate-service',
      'Magento_GiftRegistry/js/view/shipping-address/gift-registry': 'Magento_GiftRegistry/js/view/shipping-address/gift-registry',
      'Magento_Checkout/js/view/shipping': 'Magento_Checkout/js/view/shipping',
      'Amazon_Payment/js/view/shipping': 'Amazon_Payment/js/view/shipping',
      'text!Magento_Checkout/template/sidebar.html': 'Magento_Checkout/template/sidebar.html',
      'text!Magento_Checkout/template/authentication.html': 'Magento_Checkout/template/authentication.html',
      'Magento_Checkout/js/view/estimation': 'Magento_Checkout/js/view/estimation',
      'text!Magento_Checkout/template/summary.html': 'Magento_Checkout/template/summary.html',
      'Magento_Checkout/js/view/shipping-information/address-renderer/default': 'Magento_Checkout/js/view/shipping-information/address-renderer/default',
      'Magento_Checkout/js/model/payment/method-group': 'Magento_Checkout/js/model/payment/method-group',
      'text!Magento_Checkout/template/shipping.html': 'Magento_Checkout/template/shipping.html',
      'text!Magento_Checkout/template/payment.html': 'Magento_Checkout/template/payment.html',
      'text!Magento_Checkout/template/summary/cart-items.html': 'Magento_Checkout/template/summary/cart-items.html',
      'text!Magento_Checkout/template/summary/totals.html': 'Magento_Checkout/template/summary/totals.html',
      'text!Magento_Checkout/template/estimation.html': 'Magento_Checkout/template/estimation.html',
      'Magento_Checkout/js/view/progress-bar': 'Magento_Checkout/js/view/progress-bar',
      'Magento_Checkout/js/view/shipping-information': 'Magento_Checkout/js/view/shipping-information',
      'text!Magento_Checkout/template/shipping-address/form.html': 'Magento_Checkout/template/shipping-address/form.html',
      'text!Vertex_AddressValidation/template/validation-message.html': 'Vertex_AddressValidation/template/validation-message.html',
      'text!Magento_Shipping/template/checkout/shipping/shipping-policy.html': 'Magento_Shipping/template/checkout/shipping/shipping-policy.html',
      'text!Magento_Checkout/template/payment-methods/list.html': 'Magento_Checkout/template/payment-methods/list.html',
      'text!Amazon_Payment/template/form/element/email.html': 'Amazon_Payment/template/form/element/email.html',
      'text!Magento_NegotiableQuote/template/payment/discount.html': 'Magento_NegotiableQuote/template/payment/discount.html',
      'text!Magento_Reward/template/payment/reward.html': 'Magento_Reward/template/payment/reward.html',
      'text!Magento_CustomerBalance/template/payment/customer-balance.html': 'Magento_CustomerBalance/template/payment/customer-balance.html',
      'text!Magento_NegotiableQuote/template/payment/gift-card-account.html': 'Magento_NegotiableQuote/template/payment/gift-card-account.html',
      'text!Magento_Checkout/template/summary/item/details.html': 'Magento_Checkout/template/summary/item/details.html',
      'Magento_Checkout/js/view/shipping-address/list': 'Magento_Checkout/js/view/shipping-address/list',
      'Amazon_Payment/js/view/shipping-address/list': 'Amazon_Payment/js/view/shipping-address/list',
      'text!ui/template/group/group.html': 'Magento_Ui/templates/group/group.html',
      'text!Amazon_Payment/template/shipping-address/inline-form.html': 'Amazon_Payment/template/shipping-address/inline-form.html',
      'text!ui/template/form/element/helper/tooltip.html': 'Magento_Ui/templates/form/element/helper/tooltip.html',
      'text!Magento_Tax/template/checkout/summary/item/details/subtotal.html': 'Magento_Tax/template/checkout/summary/item/details/subtotal.html',
      'text!Magento_Checkout/template/summary/item/details/thumbnail.html': 'Magento_Checkout/template/summary/item/details/thumbnail.html',
      'text!Magento_Checkout/template/summary/item/details/message.html': 'Magento_Checkout/template/summary/item/details/message.html',
      'text!Magento_Checkout/template/shipping-information.html': 'Magento_Checkout/template/shipping-information.html',
      'text!Magento_Checkout/template/progress-bar.html': 'Magento_Checkout/template/progress-bar.html',
      'mage/dropdowns': 'mage/dropdowns',
      'text!Magento_Weee/template/checkout/summary/item/price/row_excl_tax.html': 'Magento_Weee/template/checkout/summary/item/price/row_excl_tax.html',
      'text!Magento_Checkout/template/shipping-address/list.html': 'Magento_Checkout/template/shipping-address/list.html',
      'text!Magento_Checkout/template/shipping-address/shipping-method-list.html': 'Magento_Checkout/template/shipping-address/shipping-method-list.html',
      'text!Magento_Checkout/template/shipping-address/shipping-method-item.html': 'Magento_Checkout/template/shipping-address/shipping-method-item.html'
    }
  }
]
davidwindell commented 3 years ago

@rossmc we are working on this right now, wondering if you got far with automating a smaller common bundle?

krzksz commented 3 years ago

Hey, unfortunately it just the way it is with Magento as the majority of those files are core ones. MagePack is simply looking which modules has been loaded on a page and bundles them so it has nothing to do with actual usage coverage.

I was doing some work to improve frontend perf in Magento itself, some of it were released, some closed, some is still developed by other people as I'm no longer working on this platform. You can find the list here: https://github.com/magento/magento2/issues?q=label%3A%22Area%3A+Perf%2FFrontend%22 but I think you will see that updating Magento to a newer version would be a first step.

digiltd commented 3 years ago

I think Willem's @wigman line from his talk at Reacticon 2020 sums things up beautifully

Google does not like your 4+ MB of JS, nor your 1MB of CSS. You can polish it and stick a flag in it. But this pile of JS doesn't get prettier.

rossmc commented 3 years ago

Hi @davidwindell & @krzksz , yes I see this issue is coming more from Magento. Thanks for looking into it.

sanganinamrata commented 1 year ago

Hi @davidwindell & @krzksz, Magento's default JS bundling has a feature to exclude some of the rare used Js using theme's view.xml using flag from the bundle & load those js asynchronously when needed.

Magento has already excluded a few of its default js in Magento blank & luma theme's view.xml file. Ref: JavaScript Bundling Is there any such feature with magepack JS bundling? Eagerly needed its feature to optimize my bundles.