fix component build

This commit is contained in:
cookfront 2017-03-24 12:14:11 +08:00
parent c0f9eb012e
commit f1ae6d4997

View File

@ -1,3 +1,4 @@
var path = require('path');
var Components = require('../components.json');
var config = require('./webpack.config.js');
@ -10,7 +11,7 @@ config.externals = {
};
config.output = {
path: './lib',
path: path.join(__dirname, '../lib'),
filename: '[name].js',
libraryTarget: 'umd'
};