-
Notifications
You must be signed in to change notification settings - Fork 244
v2 and v3 schema is not bundled in the Vite plugin #1117
Copy link
Copy link
Open
Description
Build tool
Vite
Where do you see the problem?
- In the browser
- In the terminal
Describe the bug
In the Vite plugin's package, the manifest.schema.json references the Manifest v2 and Manifest v3 schema, which is not included in the package.
Reproduction
I use VSCode, which has support for linting JSON files according to their schema.
- Create a Vite project that uses
@crxjs/vite-plugin. - Paste this in as the manifest:
{
"$schema": "./node_modules/@crxjs/vite-plugin"
}- JSON file should now have a warning for unlocatable schemas.
Logs
System Info
envinfo --system --npmPackages @crxjs/vite-plugin --binaries --browser
System:
OS: Windows 11 10.0.26200
CPU: (12) x64 13th Gen Intel(R) Core(TM) i5-1334U
Memory: 2.89 GB / 15.69 GB
Binaries:
Node: 22.14.0 - C:\Program Files\nodejs\node.EXE
npm: 11.7.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.11.1 - C:\Users\KT\AppData\Local\pnpm\pnpm.CMD
bun: 1.3.3 - C:\Users\KT\.bun\bin\bun.EXE
Browsers:
Chrome: 144.0.7559.133
Edge: Chromium (140.0.3485.54)
Firefox: 147.0.3 - C:\Program Files\Mozilla Firefox\firefox.exe
npmPackages:
@crxjs/vite-plugin: ^2.3.0 => 2.3.0Severity
annoyance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels