fix: component output librarayExport

This commit is contained in:
陈嘉涵
2017-07-31 10:54:56 +08:00
parent 84634bb77d
commit ad1755bffa
3 changed files with 6 additions and 6 deletions

View File

@@ -24,8 +24,8 @@ config.externals = {
config.output = {
path: path.join(__dirname, '../lib'),
filename: '[name].js',
libraryTarget: 'umd',
umdNamedDefine: true
libraryExport: "default",
libraryTarget: 'umd'
};
module.exports = config;