0 Star 0 Fork 0

orangedays / gantt-elastic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
webpack.dev.js 841 Bytes
一键复制 编辑 原始数据 按行查看 历史
neuronet.io 提交于 2019-03-11 22:49 . initial vuex refactorization done
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()]
};
1
https://gitee.com/orangedays/gantt-elastic.git
git@gitee.com:orangedays/gantt-elastic.git
orangedays
gantt-elastic
gantt-elastic
master

搜索帮助