diff --git a/README.md b/README.md index a0b2a2a..784ddd1 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,15 @@

- Version Number - - Build and Deploy status - - - MIT License - + Version Number + Build and Deploy status + MIT License

diff --git a/vue.config.js b/vue.config.js index 570b129..4047ed2 100644 --- a/vue.config.js +++ b/vue.config.js @@ -6,22 +6,19 @@ module.exports = { msTileColor: "#3F51B5", manifestOptions: { name: "Fancy Flashcard", - short_name: "FFC", + short_name: "Fancy Flashcard", }, }, - chainWebpack: config => { - config - .plugin('html') - .tap(args => { - args[0].title = 'Fancy Flashcard' - return args - }) - config - .plugin('define') - .tap(args => { - let v = JSON.stringify(require('./package.json').version) - args[0]['process.env']['VERSION'] = v - return args - }) + 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; + }); }, };