forked from jojomatik/blockcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
38 lines (37 loc) · 997 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
// eslint-disable-next-line @typescript-eslint/no-var-requires
const LicenseCheckerWebpackPlugin = require("license-checker-webpack-plugin");
// eslint-disable-next-line @typescript-eslint/no-var-requires
const CopyWebpackPlugin = require("copy-webpack-plugin");
module.exports = {
transpileDependencies: ["vuetify"],
devServer: {
proxy: {
"^/socket.io": {
target: "http://localhost:3001",
ws: true,
},
"^/api": {
target: "http://localhost:3001",
},
},
},
configureWebpack: {
plugins: [
new LicenseCheckerWebpackPlugin({
allow: "(Apache-2.0 OR BSD-2-Clause OR BSD-3-Clause OR MIT OR 0BSD)",
emitError: true,
outputFilename: "ThirdPartyNotices.txt",
}),
new CopyWebpackPlugin([{ from: "LICENSE" }]),
],
},
pluginOptions: {
i18n: {
locale: "en",
fallbackLocale: "en",
localeDir: "locales",
enableInSFC: false,
enableBridge: false,
},
},
};