ffc/vue.config.js

25 lines
575 B
JavaScript
Raw Normal View History

2020-05-23 17:42:35 +00:00
module.exports = {
2020-06-26 01:12:06 +00:00
publicPath: "/ffc/",
transpileDependencies: ["vuetify"],
pwa: {
themeColor: "#363636",
msTileColor: "#3F51B5",
manifestOptions: {
name: "Fancy Flashcard",
short_name: "Fancy Flashcard",
2020-06-26 01:12:06 +00:00
},
},
chainWebpack: (config) => {
config.plugin("html").tap((args) => {
args[0].title = "Fancy Flashcard";
return args;
});
config.plugin("define").tap((args) => {
args[0]["process.env"]["VERSION"] = JSON.stringify(
require("./package.json").version
);
return args;
});
},
2020-06-26 01:12:06 +00:00
};