-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.js
56 lines (55 loc) · 1.54 KB
/
vite.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import { defineConfig } from "vite";
// https://vitejs.dev/config/
export default defineConfig({
// build: {
// lib: {
// entry: 'src/my-element.js',
// formats: ['es']
// },
// rollupOptions: {
// external: /^lit/
// }
// }
resolve: {
dedupe: [
"router-slot",
"lit",
"api-viewer-element",
"@material/mwc-base",
"@material/mwc-base/form-element.js",
"@material/mwc-button",
"@material/mwc-checkbox",
"@material/mwc-circular-progress-four-color",
"@material/mwc-circular-progress",
"@material/mwc-dialog",
"@material/mwc-drawer",
"@material/mwc-fab",
"@material/mwc-formfield",
"@material/mwc-icon-button",
"@material/mwc-icon",
"@material/mwc-icon",
"@material/mwc-linear-progress",
"@material/mwc-list",
"@material/mwc-menu",
"@material/mwc-notched-outline",
"@material/mwc-radio",
"@material/mwc-ripple",
"@material/mwc-ripple/ripple-directive.js",
"@material/mwc-select",
"@material/mwc-snackbar",
"@material/mwc-switch",
"@material/mwc-tab-bar",
"@material/mwc-tab",
"@material/mwc-textarea",
"@material/mwc-textfield",
"@material/mwc-top-app-bar",
"@material/mwc-top-app-bar-fixed",
"@preignition/preignition-util",
"@preignition/preignition-widget",
"@preignition/preignition-demo",
"@preignition/preignition-mixin",
"@preignition/preignition-config",
"@preignition/preignition-state",
],
},
});