aboutsummaryrefslogtreecommitdiff
path: root/test/js/third_party/webpack/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/js/third_party/webpack/test.js')
-rw-r--r--test/js/third_party/webpack/test.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/js/third_party/webpack/test.js b/test/js/third_party/webpack/test.js
new file mode 100644
index 000000000..bfd3e80a1
--- /dev/null
+++ b/test/js/third_party/webpack/test.js
@@ -0,0 +1,11 @@
+import { world } from "./world.js";
+
+function component() {
+ const element = document.createElement("div");
+
+ element.innerHTML = "hello " + world();
+
+ return element;
+}
+
+document.body.appendChild(component());