Fix library export

This commit is contained in:
Dolan Miu
2017-12-29 01:36:42 +00:00
parent ece2b23407
commit f7412690b6

View File

@ -6,7 +6,8 @@ module.exports = {
output: { output: {
path: path.resolve('build'), path: path.resolve('build'),
filename: 'index.js', filename: 'index.js',
library: true library: 'docx',
libraryTarget: 'umd'
}, },
resolve: { resolve: {