generated from pascalmartineau/wp-skeleton
feat: Initial @nuxt/image setup
This commit is contained in:
@@ -3,6 +3,7 @@ const isDev = process.env.NODE_ENV === "development";
|
||||
export default defineNuxtConfig({
|
||||
modules: [
|
||||
"@nuxt/eslint",
|
||||
"@nuxt/image",
|
||||
"@nuxt/ui",
|
||||
"@nuxthub/core",
|
||||
"@nuxtjs/device",
|
||||
@@ -71,6 +72,12 @@ export default defineNuxtConfig({
|
||||
schemaPath: "server/schema.graphql",
|
||||
},
|
||||
|
||||
image: {
|
||||
format: ["avif", "webp"],
|
||||
quality: 80,
|
||||
domains: ["wp.cultureat.ca", "cultureat.ledevsimple.ca"],
|
||||
},
|
||||
|
||||
robots: {
|
||||
sitemap: [
|
||||
"/sitemap.xml",
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"@iconify-json/cib": "^1.2.3",
|
||||
"@iconify-json/lucide": "^1.2.68",
|
||||
"@nuxt/eslint": "^1.9.0",
|
||||
"@nuxt/image": "^1.11.0",
|
||||
"@nuxt/ui": "4.0.0-alpha.1",
|
||||
"@nuxthub/core": "^0.9.0",
|
||||
"@nuxtjs/device": "3.2.4",
|
||||
@@ -32,13 +33,13 @@
|
||||
"nuxt-svgo": "4.2.6",
|
||||
"vue": "^3.5.21",
|
||||
"vue-router": "^4.5.1",
|
||||
"zod": "^4.1.8"
|
||||
"zod": "^4.1.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^9.35.0",
|
||||
"eslint": "^9.36.0",
|
||||
"typescript": "^5.9.2",
|
||||
"vue-tsc": "^3.0.7",
|
||||
"wrangler": "^4.37.0"
|
||||
"wrangler": "^4.38.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.15.0",
|
||||
"pnpm": {
|
||||
|
||||
2016
wp-content/themes/ccat/pnpm-lock.yaml
generated
2016
wp-content/themes/ccat/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user