15 lines
309 B
TypeScript
15 lines
309 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { crx } from '@crxjs/vite-plugin'
|
|
import manifest from './src/manifest.json' with { type: 'json' }
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
rollupOptions: {
|
|
input: {
|
|
options: 'options.html',
|
|
},
|
|
},
|
|
},
|
|
plugins: [crx({ manifest })],
|
|
})
|