build config

This commit is contained in:
cookfront
2017-02-26 11:55:16 +08:00
parent e9a105b76d
commit 7bfc4f4323
28 changed files with 93 additions and 94 deletions

View File

@@ -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;