diff --git a/dist/bundle.umd.min.js b/dist/bundle.umd.min.js
index bc8dd4cb2c823c42e56f954e295151ddd6d7ed7a..62da84712542df34d3e2b5b4614a8feb52031b6b 100644
Binary files a/dist/bundle.umd.min.js and b/dist/bundle.umd.min.js differ
diff --git a/dist/index.js b/dist/index.js
index 32bdce948b1ad78d962f6b6701106213c4dca086..29e04429fab67107a1debee847931121dffb8d87 100644
Binary files a/dist/index.js and b/dist/index.js differ
diff --git a/dist/index.mjs b/dist/index.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..ddfb20a91014dcc5523c5516d3d3900d3db568e1
Binary files /dev/null and b/dist/index.mjs differ
diff --git a/dist/index.umd.js b/dist/index.umd.js
index 1636047de2016d244d7e96be5fc7a33426df544d..c9eadce3174aa8f82b0768e2a171f2a9793ec5d2 100644
Binary files a/dist/index.umd.js and b/dist/index.umd.js differ
diff --git a/dist/index.umd.min.js b/dist/index.umd.min.js
index a5affe7711a7f5b65421dca230c2335e9a7d745a..df825656696fd0323817cb507a427f87dcb659d6 100644
Binary files a/dist/index.umd.min.js and b/dist/index.umd.min.js differ
diff --git a/dist/index.umd.min.js.map b/dist/index.umd.min.js.map
index 1e10db14e1bdc655423787e43033ea4a17fabbcb..9b8693baf6fcbb25d68dc62965f400d0bf95b17a 100644
Binary files a/dist/index.umd.min.js.map and b/dist/index.umd.min.js.map differ
diff --git a/package.json b/package.json
index a82186a513abaeabee263889078e848c77f98443..1ca1d336b471541757be7a365b0dcb8482610088 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,10 @@
 {
   "name": "json-schema-faker",
-  "version": "0.5.0-rc21",
+  "version": "0.5.0-rc22",
   "description": "JSON-Schema + fake data generators",
   "homepage": "http://json-schema-faker.js.org",
   "main": "dist/index.js",
-  "module": "dist/index.esm.js",
+  "module": "dist/index.mjs",
   "unpkg": "dist/bundle.umd.min.js",
   "browser": "dist/index.umd.min.js",
   "scripts": {
diff --git a/src/index.js b/src/index.js
index 2f952536899bd38b577275b98cb7b966f9cb931c..d7a0656c282af623e8befeaeba09ac2ba7475db0 100644
--- a/src/index.js
+++ b/src/index.js
@@ -149,6 +149,6 @@ jsf.locate = name => {
   return container.get(name);
 };
 
-jsf.version = '0.5.0-rc21';
+jsf.version = '0.5.0-rc22';
 
 export default jsf;