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

15 lines
258 B
JavaScript

var Components = require('../components.json');
var config = require('./webpack.config.js');
delete config.devtool;
config.entry = Components;
config.output = {
path: './lib',
filename: '[name].js',
libraryTarget: 'umd'
};
module.exports = config;