Skip to content

Missing JS file (critical-css-loader) in Magento 2.3.4 #26963

Closed
@Sathishkumar8731

Description

@Sathishkumar8731

Preconditions (*)

  1. Magento 2.3.4
  2. MYSQL 5.6
  3. PHP 7.2.X

Steps to reproduce (*)

  1. Go to the File Path: app/code/Magento/Theme/view/frontend/requirejs-config.js
  2. Open the "requirejs-config.js" file and you can find below code in Mapper section

'criticalCssLoader': 'Magento_Theme/js/view/critical-css-loader',

  1. Whereas, critical-css-loader js file should be available in the file path: app/code/Magento/Theme/view/frontend/web/js/view

Expected result (*)

  1. Loader should need to show while calling criticalcss

Actual result (*)

  1. Loader is not working and unable to customize it on Custom them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: OtherFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReported on 2.3.4Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions