-
Notifications
You must be signed in to change notification settings - Fork 14
/
vue.config.js
58 lines (57 loc) · 1.39 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// const PurgecssPlugin = require("purgecss-webpack-plugin")
// const glob = require("glob-all")
const path = require("path")
module.exports = {
lintOnSave: undefined,
configureWebpack: {
// Merged into the final Webpack config
plugins: [
// new PurgecssPlugin({
// paths: glob.sync([
// path.join(__dirname, "./public/index.html"),
// path.join(__dirname, "./src/components/**/*.vue"),
// path.join(__dirname, "./src/views/**/*.vue"),
// path.join(__dirname, "./**/*.vue"),
// path.join(__dirname, "./src/**/*.js"),
// ]),
// whitelist: [
// "notices",
// "snackbar",
// "notification",
// "toast",
// "is-top",
// "action",
// "is-info",
// "is-warning",
// "is-success",
// "is-danger",
// "is-dark",
// "message",
// "delete",
// "button",
// "loading-overlay",
// ],
// }),
],
resolve: {
alias: {
"@": path.resolve(__dirname, "src/"),
},
},
},
css: {
loaderOptions: {
scss: {
additionalData: `
@import "@/styles/_variables.scss";
`,
},
},
},
pwa: {
name: "Peridot",
themeColor: "#4DBA87",
msTileColor: "#000000",
appleMobileWebAppStatusBarStyle: "black",
},
}