forked from swina/whoobe-one-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
37 lines (35 loc) · 848 Bytes
/
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
var webpack = require('webpack');
module.exports = {
/*
devServer: {
proxy:
{
'^/uploads' : {
target: process.env.VUE_APP_NUXPRESSO_URL || 'http://localhost:3000/',
ws: true,
changeOrigin: true,
pathRewrite: {'^/uploads': '/uploads'},
logLevel: 'debug'
}
}
},
*/
configureWebpack: {
module: {
rules: [ {
test: /\.md$/,
loader: 'raw-loader', // npm install -D raw-loader
}]
}
},
pwa : {
themeColor : '#7618b1',
msTileColor: '#000000',
favicon32: 'img/icons/favicon-32x32.png',
favicon16: 'img/icons/favicon-16x16.png',
appleTouchIcon: 'img/icons/apple-touch-icon.png',
maskIcon: 'img/icons/safari-pinned-tab.svg',
msTileImage: 'img/icons/mstile-144x144.png'
},
productionSourceMap: false,
}