comctx
Version:
Cross-context RPC solution with type safety and flexible adapters.
22 lines (20 loc) • 447 B
text/typescript
import { defineConfig } from 'wxt'
import path from 'node:path'
import { name } from './package.json'
// See https://wxt.dev/api/config.html
export default defineConfig({
extensionApi: 'chrome',
srcDir: path.resolve('src'),
entrypointsDir: 'app',
imports: false,
runner: {
startUrls: ['http://www.example.com/'],
openConsole: true
},
manifest: () => {
return {
name: name,
permissions: ['tabs']
}
}
})