-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvue.config.js
57 lines (51 loc) · 1.24 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
/* eslint-disable no-template-curly-in-string */
let externals = ['!bpmn-js-properties-panel', '!./node_modules/bpmn-js/']
if (process.env.NODE_ENV === 'production') {
externals = ['!bpmn-js', ...externals]
}
module.exports = {
baseUrl: process.env.BASE_URL,
pluginOptions: {
i18n: {
locale: 'de',
fallbackLocale: 'de',
localeDir: 'locales',
enableInSFC: false
},
electronBuilder: {
builderOptions: {
appId: 'com.cape.app',
productName: 'CaPE',
copyright: 'Copyright © 2018 Alexander Fischer <[email protected]>, Lukas Jesche <[email protected]>, Bernhard Wittmann <[email protected]>',
publish: {
provider: 'github',
repo: 'cape-frontend',
owner: 'berniwittmann'
},
mac: {
category: 'public.app-category.education'
},
linux: {
category: 'Education'
}
},
externals
}
},
css: {
loaderOptions: {
sass: {
data: `@import "@/assets/styles/globals.scss";`
}
}
},
devServer: {
proxy: {
'/api': {
target: process.env.VUE_APP_API_LOCATION,
ws: true,
changeOrigin: true
}
}
}
}