Skip to content

Vitepress introduces plug-ins to compile error #18

@bd-dxg

Description

@bd-dxg

I used this plug-in in the blog built by vitepress, but the compiler reported an error

image

my package.json

{
  "name": "vitepress",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "dev": "vitepress dev docs --open",
    "build": "vitepress build docs",
    "serve": "vitepress serve docs"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "@algolia/client-search": "^4.14.2",
    "@types/node": "^18.11.18",
    "vitepress": "1.0.0-alpha.40"
  },
  "dependencies": {
    "avif.js": "^0.2.0"
  }
}

can u help me ?

All the pictures on my blog are in avif format, but edge browsers do not support avif format. I hope to let edge browsers display pictures through your plug-in. This is my request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions