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:
renovate[bot] 2023-07-28 18:37:20 +02:00 committed by GitHub
parent b08668ee32
commit 5dfa2a3042
2 changed files with 7 additions and 5 deletions

View File

@ -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, '')

View File

@ -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"
},