hotfix: reference package vite config

This commit is contained in:
Felix Roos 2025-05-01 12:47:56 +02:00
parent 177f5c1431
commit 9ceebd4679
No known key found for this signature in database

View File

@ -1,5 +1,4 @@
import { defineConfig } from 'vite';
import { dependencies } from './package.json';
import { resolve } from 'path';
// https://vitejs.dev/config/
@ -11,9 +10,6 @@ export default defineConfig({
formats: ['es'],
fileName: (ext) => ({ es: 'index.mjs' })[ext],
},
rollupOptions: {
external: [...Object.keys(dependencies)],
},
target: 'esnext',
},
});