aboutsummaryrefslogtreecommitdiff
path: root/docs/module-system.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/module-system.md')
-rw-r--r--docs/module-system.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/module-system.md b/docs/module-system.md
new file mode 100644
index 000000000..a12fb0fff
--- /dev/null
+++ b/docs/module-system.md
@@ -0,0 +1,9 @@
+# Modules (JavaScript Runtime Environment)
+
+This is about the JavaScript Runtime Environment, so this doesn't apply when bundling for Node.js or Web.
+
+The JavaScript Runtime treats modules as close as possible to what it does on the web.
+
+That means:
+
+- Modules are always transformed to ES Modules