1 Star 0 Fork 26

dukexia/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
}
})
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/dukexia_admin/vue-quill-editor.git
git@gitee.com:dukexia_admin/vue-quill-editor.git
dukexia_admin
vue-quill-editor
vue-quill-editor
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385