aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/systemjs/test/tests/cjs-exports.js
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/systemjs/test/tests/cjs-exports.js')
-rw-r--r--thirdparty/systemjs/test/tests/cjs-exports.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/thirdparty/systemjs/test/tests/cjs-exports.js b/thirdparty/systemjs/test/tests/cjs-exports.js
new file mode 100644
index 000000000..fdd99ca92
--- /dev/null
+++ b/thirdparty/systemjs/test/tests/cjs-exports.js
@@ -0,0 +1,6 @@
+module.exports = F;
+require('./cjs-exports-dep.js');
+function F() {
+ return 'export';
+}
+module.exports = require('./cjs-exports-dep.js'); \ No newline at end of file