vant/build/webpack.build.js
2017-01-16 02:48:57 +08:00

14 lines
215 B
JavaScript

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