Skip to content

Commit

Permalink
remove $schema from manifest when building
Browse files Browse the repository at this point in the history
  • Loading branch information
desjoerd committed Nov 17, 2022
1 parent 626a27b commit ac454b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import react from "@vitejs/plugin-react";
import { crx, ManifestV3Export } from "@crxjs/vite-plugin";
import manifest from "./manifest.json";

delete manifest["$schema"];

export default defineConfig({
plugins: [react(), crx({ manifest: manifest as ManifestV3Export })],
});

0 comments on commit ac454b2

Please sign in to comment.