-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
54 lines (54 loc) · 966 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module.exports = {
pages: {
'popup/popup': {
entry: 'src/popup/main.js',
title: 'Popup'
},
'options/options': {
entry: 'src/options/main.js',
title: 'Options'
},
'standalone/standalone': {
entry: 'src/standalone/main.js',
filename: 'index.html',
title: 'FooBar'
}
},
pluginOptions: {
browserExtension: {
registry: undefined,
components: {
background: true,
popup: true,
options: true,
contentScripts: true,
standalone: true
},
api: 'chrome',
componentOptions: {
background: {
entry: 'src/background.js'
},
contentScripts: {
entries: {
'content_scripts/content-script': [
'src/content_scripts/content-script.js'
]
}
}
}
},
i18n: {
locale: 'en',
fallbackLocale: 'en',
localeDir: 'locales',
enableInSFC: false
},
quasar: {
treeShake: true
}
},
transpileDependencies: [
/[\\\/]node_modules[\\\/]quasar[\\\/]/
]
};