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

add plugin gatsby-plugin-uninline-styles #489

Closed
wants to merge 1 commit into from

Conversation

hirohe
Copy link

@hirohe hirohe commented Sep 29, 2020

plugin from https://www.gatsbyjs.com/plugins/gatsby-plugin-uninline-styles/

This plugin allows to un-inline CSS from generated HTML files


related issue #313

this change cannot un-inline material-ui styles from generated html files, but it will un-inline other styles

// public/index.html

// before
<style data-href="/styles.45089e9452a0e61ca601.css"> ... </style>

// after
<link href="/styles.45089e9452a0e61ca601.css" rel="stylesheet" type="text/css"/>

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

Successfully merging this pull request may close these issues.

1 participant