aboutsummaryrefslogtreecommitdiffstats
path: root/vite.config.background.ts
blob: e51a1a0c4996827291efa976423547f8d317da28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { defineConfig } from 'vite';

export default defineConfig({
  build: {
    emptyOutDir: false,
    assetsInlineLimit: 4096,
    minify: 'esbuild',
    lib: {
      entry: 'src/background.ts',
      name: 'background',
      formats: ['es'],
      fileName: 'background',
    },
    outDir: 'static/generated/',
  },
  clearScreen: false,
  server: {
    port: 26696,
  },
});