import { defineConfig } from 'wxt'; // See https://wxt.dev/api/config.html export default defineConfig({ srcDir: 'src', modules: ['@wxt-dev/module-react'], // Target Manifest V3 on both Chromium and Firefox (modern Firefox / Zen support it). manifestVersion: 3, manifest: { name: 'Nexa', description: 'Your blockchain powered agent to help with your trading emotions.', permissions: ['storage'], // axiom.trade: the site adapter target. localhost:8080: the Nexa backend // (dev only — swap/extend for the real backend host before shipping). // Not 3000 — that's this extension's own Vite dev server port. host_permissions: ['https://axiom.trade/*', 'http://localhost:8080/*'], browser_specific_settings: { gecko: { // Placeholder id for local/dev builds; replace before publishing to AMO. id: 'nexa-extension@nexa-sol.dev', }, }, }, });