aboutsummaryrefslogtreecommitdiffstats
path: root/dist/jquery.bundler-require-wrapper.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/jquery.bundler-require-wrapper.js')
-rw-r--r--dist/jquery.bundler-require-wrapper.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/jquery.bundler-require-wrapper.js b/dist/jquery.bundler-require-wrapper.js
new file mode 100644
index 000000000..e6ac3aff3
--- /dev/null
+++ b/dist/jquery.bundler-require-wrapper.js
@@ -0,0 +1,5 @@
+"use strict";
+
+// Bundlers are able to synchronously require an ESM module from a CommonJS one.
+const { jQuery } = require( "../dist-module/jquery.module.js" );
+module.exports = jQuery;