Initial commit

This commit is contained in:
Dom
2026-03-05 01:20:15 +01:00
commit c0c50e56f0
364 changed files with 62207 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { defineConfig } from 'vite';
export default defineConfig({
define: {
__BUILD_TIME__: JSON.stringify(new Date().toISOString()),
__BUILD_VERSION__: JSON.stringify(process.env.npm_package_version || '1.0.0'),
},
build: {
outDir: 'dist',
lib: {
entry: 'src/index.ts',
formats: ['es'],
fileName: () => 'vanna-components.js',
},
rollupOptions: {
// Remove external to bundle lit with the components
// external: /^lit/,
},
},
preview: {
port: 9876,
strictPort: true,
},
});