-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsnowpack.config.js
46 lines (46 loc) · 1.1 KB
/
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
41
42
43
44
45
46
/** @type {import("snowpack").SnowpackUserConfig } */
const path = require("path");
module.exports = {
mount: {
public: "/",
src: "/_dist_",
},
plugins: [
"@snowpack/plugin-vue",
"@snowpack/plugin-sass",
"@snowpack/plugin-vue/plugin-tsx-jsx.js",
"@snowpack/plugin-dotenv",
"@snowpack/plugin-postcss", [
"@snowpack/plugin-webpack",
{
__VUE_OPTIONS_API__: true,
// htmlMinifierOptions: false, // disabled entirely,
collapseWhitespace: true,
removeComments: true,
removeEmptyAttributes: true,
removeRedundantAttributes: true,
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true,
},
],
],
install: [
/* ... */
],
installOptions: {
/* ... */
},
devOptions: {
/* ... */
},
buildOptions: {
/* ... */
},
proxy: {
/* ... */
},
alias: {
/* ... */
"@": "./src",
},
};