1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00
vant/build/webpack.build.js
2017-02-26 13:34:49 +08:00

20 lines
278 B
JavaScript

var config = require('./webpack.config.js');
config.entry = {
'zanui': './src/index.js'
};
config.output = {
filename: './lib/[name].js',
library: 'zanui',
libraryTarget: 'umd'
};
config.externals = {
vue: 'Vue'
};
delete config.devtool;
module.exports = config;