export default defineConfig()

in packages/votes-histogram/vite.config.ts [6:35]


export default defineConfig({
  plugins: [
    react(),
    eslint({
      failOnError: false,
    }),
    viteStaticCopy({
      targets: [
        {
          src: 'manifest.json',
          dest: '../'
        },
        {
          src: 'votes-histogram-app.svg',
          dest: '../'
        },
        {
          src: 'public/*',
          dest: '../'
        },
      ],
    }),
  ],
  base: './',
  publicDir: '',
  build: {
    outDir: 'dist/widgets',
    target: ['es2022']
  },
})