@gdwc/components
Version:
A library of generic web components that are accessible, framework agnostic, possible to style, and easy to use with data provided by Drupal
17 lines (15 loc) • 371 B
JavaScript
import { defineConfig } from 'vite';
// https://vitejs.dev/config/
export default defineConfig({
build: {
lib: {
entry: 'index.js',
name: 'components',
},
// Bundling lit-element to simplify hosting for now, but may want to make
// this an external at some point.
// rollupOptions: {
// external: /^lit-element/
// }
},
});