Files
LexAI/wxt.config.ts
john kevin asprec 04a4a2dc99 chore: remove unused deps, pin toolchain, single-source version, quarantine e2e
- Uninstall zustand, tailwindcss, autoprefixer, tweetnacl-util (all
  unused); README no longer advertises Tailwind/Zustand.
- Fix stale 'Tone' -> 'Explain' copy in Options.
- Add .nvmrc/engines/packageManager (Node 22 to match CI).
- wxt.config.ts reads manifest version from package.json so the two
  can never drift.
- Ignore *.zip build artifacts.
- Skip the two e2e specs with literal [EXTENSION_ID] placeholders
  (cannot pass; TODO references the e2e-ID-resolution task).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 21:26:51 +08:00

29 lines
764 B
TypeScript

import { defineConfig } from 'wxt';
import pkg from './package.json';
export default defineConfig({
extensionApi: 'chrome',
modules: ['@wxt-dev/module-react'],
manifest: {
name: 'LexAI - AI Writing Assistant',
description: 'Grammar checking and writing assistance powered by your own LLM API key',
// Single source of truth: manifest version always follows package.json,
// so a release bump is a one-file edit and versions can never drift.
version: pkg.version,
icons: {
'16': 'icon-16.png',
'32': 'icon-32.png',
'48': 'icon-48.png',
'128': 'icon-128.png',
},
permissions: [
'storage',
'activeTab',
'contextMenus',
],
host_permissions: [
'<all_urls>',
],
},
});