1 Star 0 Fork 25

yige / vue-quill-editor

forked from 卡戎 / vue-quill-editor 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
webpack.config.js 813 Bytes
一键复制 编辑 原始数据 按行查看 历史
Surmon 提交于 2017-04-24 18:20 . Update
const path = require('path')
const webpack = require( 'webpack' )
module.exports = {
entry: './src/index.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'index.js',
library: 'VueQuillEditor',
libraryTarget: 'umd',
},
resolve: {
extensions: [ '.js', '.vue' ]
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel-loader',
include: __dirname,
exclude: /node_modules/
},
{
test: /\.vue$/,
loader: 'vue-loader'
},
{
test: /\.css$/,
loader: 'style-loader!css-loader'
}
]
},
plugins: [
new webpack.optimize.UglifyJsPlugin( {
minimize : true,
sourceMap : false,
mangle: true,
compress: {
warnings: false
}
})
]
}
JavaScript
1
https://gitee.com/yi-ge/vue-quill-editor.git
git@gitee.com:yi-ge/vue-quill-editor.git
yi-ge
vue-quill-editor
vue-quill-editor
master

搜索帮助