aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/systemjs/test/tests/compiler-plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/systemjs/test/tests/compiler-plugin.js')
-rw-r--r--thirdparty/systemjs/test/tests/compiler-plugin.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/thirdparty/systemjs/test/tests/compiler-plugin.js b/thirdparty/systemjs/test/tests/compiler-plugin.js
new file mode 100644
index 000000000..e7068fae3
--- /dev/null
+++ b/thirdparty/systemjs/test/tests/compiler-plugin.js
@@ -0,0 +1,4 @@
+"format cjs";
+exports.translate = function(load) {
+ return 'require("tests/global.js"); exports.extra = "yay!"; \n' + load.source;
+}