2021-06-17 22:58:15 +00:00
|
|
|
const ASSET_PATH = process.env.ASSET_PATH || '/ffc/';
|
|
|
|
|
2020-05-23 17:42:35 +00:00
|
|
|
module.exports = {
|
2021-06-17 22:58:15 +00:00
|
|
|
publicPath: ASSET_PATH,
|
2020-06-26 01:12:06 +00:00
|
|
|
transpileDependencies: ["vuetify"],
|
2020-06-19 23:17:47 +00:00
|
|
|
pwa: {
|
|
|
|
themeColor: "#363636",
|
|
|
|
msTileColor: "#3F51B5",
|
|
|
|
manifestOptions: {
|
|
|
|
name: "Fancy Flashcard",
|
2020-07-21 07:54:54 +00:00
|
|
|
short_name: "Fancy Flashcard",
|
2020-06-26 01:12:06 +00:00
|
|
|
},
|
|
|
|
},
|
2020-07-21 07:54:54 +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 16:10:57 +00:00
|
|
|
},
|
2020-06-26 01:12:06 +00:00
|
|
|
};
|