Files
Joe HaddadandGitHub 61c3db7368 Fix minifying inline CSS comments (#19167)
We accidentally regressed back in 9.5 and dropped support for inline CSS comments. PostCSS always parses these as pass-through (and not a syntax error), which can cause problems when minifying.

Browsers do a similar thing and ignore the comments.

To ensure we generate valid CSS, this adds support for stripping the CSS comments from the build.

--- 

Fixes #15589
Closes #17130
2020-11-14 15:03:04 +00:00

6 lines
121 B
JavaScript

import './global.css'
export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}