forked from intel/webnfc-shoppingcart-demo
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsnowpack.config.js
40 lines (39 loc) · 930 Bytes
/
snowpack.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
// Snowpack Configuration File
// See all supported options: https://www.snowpack.dev/#configuration
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
mount: {
public: "/",
src: "/dist"
},
buildOptions: {
out: "docs"
},
plugins: ['@snowpack/plugin-optimize', '@snowpack/plugin-dotenv'],
installOptions: {
treeshake: false,
rollup: {
dedupe: [
"@material/mwc-notched-outline",
"@material/mwc-ripple",
"lit-html",
"lit-element"
]
}
},
install: [
"@material/mwc-button",
"@material/mwc-checkbox",
"@material/mwc-dialog",
"@material/mwc-drawer",
"@material/mwc-fab",
"@material/mwc-formfield",
"@material/mwc-icon-button",
"@material/mwc-icon-button-toggle",
"@material/mwc-snackbar",
"@material/mwc-textfield",
"@material/mwc-top-app-bar",
"lit-element",
"lit-html"
]
};