/*
In production the stylesheet is compiled to .next/static/style.css.
The file will be served from /_next/static/style.css
You could include it into the page using either next/head or a custom _document.js.
*/

import Document, { Head, Main, NextScript } from 'next/document'

export default class MyDocument extends Document {
  render () {
    return (
      <html>
        <Head>
          <link
            rel='stylesheet'
            href='/_next/static/style.css'
          />
        </Head>
        <body>
          <Main />
          <NextScript />
        </body>
      </html>
    )
  }
}

@@ -1,216 +1,4 @@
-/*%0AIn production the stylesheet is compiled to .next/static/style.css.%0AThe file will be served from /_next/static/style.css%0AYou could include it into the page using either next/head or a custom _document.js.%0A*/%0A%0A
 impo
@@ -167,125 +167,10 @@
 Head
-%3E%0A          %3Clink%0A            rel='stylesheet'%0A            href='/_next/static/style.css'%0A          /%3E%0A        %3C/Head
+ /
 %3E%0A  

Remove <link ...style.css"> from Head in _document (#5887)