Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejsharapov authored Sep 19, 2022
1 parent 5a5fcff commit 0b2855a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ module.exports = defineConfig({
port: 8080,
},
chainWebpack: (config) => {
// alias
config.resolve.alias.set("@", path.resolve(__dirname, "src/"));

// process.env
if (process.env.NODE_ENV == "production") {
VUE_APP_TITLE = require("./package.json").name;
// } else {
}
},

// output
outputDir: path.resolve(
__dirname,
process.env.NODE_ENV === "production" ? "dist/" : "/"
Expand Down

0 comments on commit 0b2855a

Please sign in to comment.