Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sprajasekar opened this issue Oct 7, 2022 · 0 comments

Comments

@sprajasekar
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant