12 lines
271 B
TypeScript
12 lines
271 B
TypeScript
import { defineConfig } from 'vite';
|
|
import { crx } from '@crxjs/vite-plugin';
|
|
import manifest from './src/manifest.json' with { type: 'json' };
|
|
|
|
export default defineConfig({
|
|
plugins: [crx({ manifest })],
|
|
build: {
|
|
outDir: 'dist',
|
|
emptyOutDir: true,
|
|
},
|
|
});
|