aboutsummaryrefslogtreecommitdiffstats
path: root/dist-module/wrappers/jquery.node-module-wrapper.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist-module/wrappers/jquery.node-module-wrapper.js')
-rw-r--r--dist-module/wrappers/jquery.node-module-wrapper.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist-module/wrappers/jquery.node-module-wrapper.js b/dist-module/wrappers/jquery.node-module-wrapper.js
new file mode 100644
index 000000000..103cf1197
--- /dev/null
+++ b/dist-module/wrappers/jquery.node-module-wrapper.js
@@ -0,0 +1,5 @@
+// Node.js is able to import from a CommonJS module in an ESM one.
+import jQuery from "../../dist/jquery.js";
+
+export { jQuery, jQuery as $ };
+export default jQuery;