-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
39 lines (37 loc) · 980 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
// eslint-disable-next-line @typescript-eslint/no-var-requires
const TerserPlugin = require("terser-webpack-plugin");
module.exports = {
configureWebpack: (config) => {
config.optimization.minimize = false;
config.optimization.minimizer = [
new TerserPlugin({
terserOptions: {
keep_classnames: true,
keep_fnames: true,
},
}),
];
},
transpileDependencies: ["vuetify"],
pluginOptions: {
s3Deploy: {
registry: undefined,
awsProfile: "default",
overrideEndpoint: false,
region: "us-east-1",
bucket: process.env.AWS_BUCKET_NAME,
createBucket: false,
staticHosting: true,
staticIndexPage: "index.html",
staticErrorPage: "index.html",
assetPath: "dist",
assetMatch: "**",
deployPath: "/",
acl: "public-read",
pwa: false,
enableCloudfront: false,
pluginVersion: "4.0.0-rc3",
uploadConcurrency: 5,
},
},
};