Skip to content

Question: How to enable critical css option on electrode version 4.1.1 (electrode-archetype-react-app) #1906

Description

@sprajasekar

We are having a legacy project built on electrode. We are using electrode-archetype-react-app v4.1.1, and we want to enable critical css in this project. I tried adding files archetype/config/index.js and archetype/config.js, and tried to add the below code to it as suggested.

module.exports = {
  options: {
    criticalCSS: true
  }
};

I have a critical css marker on the template too It doesn't seem to render the critical css on the template. I don't find any documentation on the same. Any help will be appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions