Skip to content

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

@sprajasekar

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.

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