Added lite-mode build target
This commit is contained in:
parent
7a6c4e6a6e
commit
49a38eada0
5 changed files with 19 additions and 2 deletions
|
|
@ -20,7 +20,15 @@ module.exports = {
|
|||
})
|
||||
);
|
||||
},
|
||||
outputDir:
|
||||
process.env.VUE_APP_TARGET == "electron-renderer" ? "./app/dist" : "./dist",
|
||||
outputDir: (function() {
|
||||
if (process.env.VUE_APP_TARGET == "electron-renderer") {
|
||||
return "./app/dist";
|
||||
} else if (process.env.VUE_APP_LITEMODE == "true") {
|
||||
return "./dist-lite";
|
||||
} else {
|
||||
return "./dist";
|
||||
}
|
||||
})(),
|
||||
|
||||
publicPath: ""
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue