-
Notifications
You must be signed in to change notification settings - Fork 2
/
vue.config.js
44 lines (41 loc) · 1.09 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
const CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
publicPath: './',
configureWebpack: {
plugins: [
new CopyWebpackPlugin({
patterns: [
{
from: './node_modules/potree/build/potree/potree.js',
to: 'libs/potree/potree.js',
},
{
from: './node_modules/potree/build/potree/workers/',
to: 'libs/potree/workers/',
},
{ from: './node_modules/potree/libs/', to: 'libs/potree/libs/' },
{
from: './node_modules/potree/resources/icons/',
to: 'libs/potree/resources/icons/',
},
{
from: './node_modules/potree/resources/images/',
to: 'libs/potree/resources/images/',
},
{
from: './node_modules/potree/resources/textures/',
to: 'libs/potree/resources/textures/',
},
],
}),
],
},
pluginOptions: {
i18n: {
locale: 'nl',
fallbackLocale: 'en',
localeDir: 'locales',
enableInSFC: false,
},
},
};