vant/build/webpack.build.js
2017-02-26 11:55:16 +08:00

14 lines
216 B
JavaScript

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