diff --git a/webpack.config.js b/webpack.config.js
index <HASH>..<HASH> 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -23,6 +23,7 @@ if (args[0] === '-p') {
   output = {
     path: dirDist,
     filename: 'all.min.js',
+    libraryTarget: 'umd',
   };
   plugins = [
     new webpack.optimize.DedupePlugin(),
feat(lib): Export public API as UMD