-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathvue.config.js
57 lines (53 loc) · 1.22 KB
/
vue.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
57
module.exports = {
configureWebpack: {
devtool: "cheap-source-map",
optimization: {
splitChunks: {
cacheGroups: {
default: false
}
}
}
},
devServer: {
// hot reload
hotOnly: true,
// open default browser
open: false,
// server port
port: 3001
},
lintOnSave: false,
outputDir: "dist",
pages: {
index: {
// entry point to eth-vue application
entry: "src/main.js",
// html file to use as template when serving or building
template: "index.html",
// file to distribute from build for production (in the dist directory)
filename: "index.html"
}
},
pwa: {
name: "eth-vue",
iconPaths: {
appleTouchIcon: "static/images/apple-touch-icon.png",
favicon16: "static/images/favicon-16x16.png",
favicon32: "static/images/favicon-32x32.png",
maskIcon: "./static/images/danielokwufulueze.png",
msTileImage: "static/images/mstile-150x150.png"
},
manifestOptions: {
Scope: "/",
start_url: "/",
icons: [
{
src: "static/images/favicon.ico",
sizes: "64x64 32x32 24x24 16x16",
type: "image/x-icon"
}
]
}
}
};