This commit is contained in:
fabio
2026-03-02 19:44:24 +01:00
parent 25f4701b54
commit 2dd819444e
24 changed files with 978 additions and 517 deletions

View File

@@ -0,0 +1,18 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
export default defineConfig({
plugins: [
vue({
customElement: true,
}),
],
build: {
lib: {
entry: 'src/register.ts',
name: 'TrustcontactWebComponents',
formats: ['es', 'iife'],
fileName: (format) => `trustcontact-web-components.${format}.js`,
},
},
});