-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
35 lines (33 loc) · 994 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
const SentryWebpackPlugin = require("@sentry/webpack-plugin");
module.exports = {
pwa: {
name: "Among Us Detective",
themeColor: "#000000",
msTileColor: "#000000",
appleMobileWebAppCapable: "yes",
appleMobileWebAppStatusBarStyle: "black-translucent",
workboxOptions: {
skipWaiting: true,
},
assetsVersion: process.env.APP_VERSION,
},
// other configuration
configureWebpack: {
plugins: [
// Only add Sentry.js logging in production and during build time
...(process.env.NODE_ENV === "production"
? [
new SentryWebpackPlugin({
// sentry-cli configuration
authToken: process.env.SENTRY_AUTH_TOKEN,
org: "atlesque-media-vof",
project: "among-us-detective",
// webpack specific configuration
include: "./dist",
ignore: ["node_modules", "webpack.config.js"],
}),
]
: []),
],
},
};