gaia-project/old-ui/vue.config.js
2021-05-18 23:42:49 +02:00

20 lines
443 B
JavaScript

/* eslint-disable */
const path = require("path");
if (process.argv.includes("lib")) {
module.exports = {
lintOnSave: false,
outputDir: path.join(__dirname, "dist/package"),
// css: {extract: false}
chainWebpack: (config) => {
config.externals({
"bootstrap-vue": "BootstrapVue",
});
},
};
} else {
module.exports = {
lintOnSave: false,
outputDir: path.join(__dirname, "dist/app"),
};
}