Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(static-site): remove gatsby-inlined-css
Since Gatsby v2 CSS is inlined automagically and the explicit setup relying on existence of `public/styles.css` (previously containing a portion of styles to be inlined) is no longer necessary, and even worse, fails the production build with an error: > Cannot find module '!raw-loader!../public/styles.css'. This removes the explicit setup and resolves the error. See discussion in: - #104 - #75 (comment) Relevant gatsby docs: - https://www.gatsbyjs.org/docs/migrating-from-v1-to-v2/#remove-inlined-css-in-htmljs Resolves #104
- Loading branch information