mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
build config
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
var config = require('./webpack.config.js')
|
||||
var config = require('./webpack.config.js');
|
||||
|
||||
config.entry = {
|
||||
'oxygen': './src/index.js'
|
||||
}
|
||||
'zanui': './src/index.js'
|
||||
};
|
||||
|
||||
config.output = {
|
||||
filename: './dist/[name].js',
|
||||
filename: './lib/[name].js',
|
||||
library: 'zanui',
|
||||
libraryTarget: 'umd'
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = config
|
||||
module.exports = config;
|
||||
|
Reference in New Issue
Block a user