shiny new gancio-event[s] webcomponents!
This commit is contained in:
13
webcomponents/vite.lib.config.js
Normal file
13
webcomponents/vite.lib.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: './src/main.js',
|
||||
name: 'GancioEvents'
|
||||
}
|
||||
},
|
||||
plugins: [svelte({compilerOptions: { customElement: true }})]
|
||||
})
|
||||
Reference in New Issue
Block a user