Files
MuyueWorkspace/extension/wxt.config.js
Augustin 31b1de1b0d
All checks were successful
Beta Release / beta (push) Successful in 1m23s
fix(extension): Firefox corrupt zip + duplicate uploads in CI
- Remove 'sidePanel' permission from Firefox build (Chrome-only MV3)
- Fix CI upload loop matching extension zips twice via dist/*.zip

💘 Generated with Crush

Assisted-by: GLM-5.1 via Crush <crush@charm.land>
2026-04-27 18:25:13 +02:00

31 lines
718 B
JavaScript

import { defineConfig } from 'wxt';
export default defineConfig({
srcDir: 'src',
suppressWarnings: {
firefoxDataCollection: true,
},
manifest: ({ browser }) => ({
name: 'Muyue',
description: 'AI-powered browser testing & automation — connected to your Muyue desktop app',
permissions: [
'storage',
'activeTab',
'tabs',
...(browser === 'chrome' ? ['sidePanel'] : []),
'scripting',
'notifications',
],
host_permissions: ['http://127.0.0.1:*/*', 'http://localhost:*/*'],
action: {
default_icon: {
16: 'icon/16.png',
32: 'icon/32.png',
},
},
side_panel: {
default_path: 'sidepanel.html',
},
}),
});