2
0
mirror of https://github.com/tenrok/vue-ganttastic.git synced 2026-06-20 16:40:34 +03:00
Files
vue-ganttastic/vue.config.js
T
2021-10-18 22:49:58 +03:00

15 lines
357 B
JavaScript

module.exports = {
publicPath: '',
outputDir: process.env.NODE_ENV === 'production' ? 'dist/' : 'demo/',
css: { extract: false },
productionSourceMap: false,
chainWebpack: config => {
if (process.env.VUE_CLI_BUILD_TARGET === 'lib') {
config.externals({
...config.get('externals'),
moment: 'moment',
})
}
},
}