diff --git a/webpack.config.js b/webpack.config.js index cac0f1aa19..205b7943d3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -6,7 +6,8 @@ module.exports = { output: { path: path.resolve('build'), filename: 'index.js', - library: true + library: 'docx', + libraryTarget: 'umd' }, resolve: {