aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--example/src/Bar.purs3
-rw-r--r--example/src/bar.js5
-rw-r--r--example/src/entry.js4
3 files changed, 11 insertions, 1 deletions
diff --git a/example/src/Bar.purs b/example/src/Bar.purs
new file mode 100644
index 0000000..a37171f
--- /dev/null
+++ b/example/src/Bar.purs
@@ -0,0 +1,3 @@
1module Bar where
2
3test = "b"
diff --git a/example/src/bar.js b/example/src/bar.js
new file mode 100644
index 0000000..8c3bb91
--- /dev/null
+++ b/example/src/bar.js
@@ -0,0 +1,5 @@
1var x = 'a';
2
3var abcde = require('./Bar.purs');
4
5module.exports = abcde;
diff --git a/example/src/entry.js b/example/src/entry.js
index be0a475..57808c2 100644
--- a/example/src/entry.js
+++ b/example/src/entry.js
@@ -6,4 +6,6 @@ var foo = require('./Foo.purs');
6 6
7var baz = require('./Foo/Baz.purs'); 7var baz = require('./Foo/Baz.purs');
8 8
9console.log(Prelude, test, foo, baz); 9var bar = require('./bar');
10
11console.log(Prelude, test, foo, baz, bar);