comindware-gantt-elastic
Version:
Gantt chart. Elastic javascript gantt chart. Vue and standalone gantt. Project manager responsive gantt
41 lines (39 loc) • 841 B
JavaScript
const path = require('path');
const { VueLoaderPlugin } = require('vue-loader');
module.exports = {
/*devServer: {
publicPath: path.join(__dirname, 'dist'),
compress: false,
port: 9000,
openPage: '/examples/vue.edit.html'
},*/
devtool: 'inline-source-map',
mode: 'development',
entry: './src/GanttElastic.vue',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'GanttElastic.umd.js',
library: 'GanttElastic',
libraryTarget: 'umd',
libraryExport: 'default'
},
externals: ['vue'],
resolve: {
alias: {
vue$: 'vue/dist/vue.esm.js'
}
},
module: {
rules: [
{
test: /\.vue$/,
use: 'vue-loader'
},
{
test: /\.css$/,
use: ['vue-style-loader', 'css-loader']
}
]
},
plugins: [new VueLoaderPlugin()]
};