mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore(deps): update all non-major dependencies (#212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
b08668ee32
commit
5dfa2a3042
@ -35,8 +35,10 @@ export const RenderPlugin = () => {
|
||||
let html = await fsp.readFile(fileName, 'utf-8')
|
||||
const isCompleteHTML = html.includes('<!DOCTYPE html>')
|
||||
|
||||
// Apply critters to inline styles
|
||||
html = await critters.process(html)
|
||||
if (html.includes('<html')) {
|
||||
// Apply critters to inline styles
|
||||
html = await critters.process(html)
|
||||
}
|
||||
// We no longer need references to external CSS
|
||||
html = html.replace(/<link[^>]*>/g, '')
|
||||
|
||||
|
@ -27,8 +27,8 @@
|
||||
"@nuxt/ui-assets": "^0.2.0",
|
||||
"@types/html-minifier": "^4.0.2",
|
||||
"@types/lodash.template": "^4.5.1",
|
||||
"critters": "^0.0.16",
|
||||
"execa": "^7.1.1",
|
||||
"critters": "^0.0.19",
|
||||
"execa": "^7.2.0",
|
||||
"globby": "^13.2.2",
|
||||
"html-minifier": "^4.0.0",
|
||||
"jiti": "^1.19.1",
|
||||
@ -36,7 +36,7 @@
|
||||
"lodash.template": "^4.5.0",
|
||||
"scule": "^1.0.0",
|
||||
"upath": "^2.0.1",
|
||||
"vite": "^4.4.6",
|
||||
"vite": "^4.4.7",
|
||||
"vite-plugin-windicss": "^1.9.0",
|
||||
"windicss": "^3.5.6"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user