aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/src
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2015-01-13 22:03:00 -0500
committereric thul <thul.eric@gmail.com>2015-01-13 22:03:00 -0500
commitf9d1a6b3c9833036e27920171e45bb73f1764fa3 (patch)
treee5db46409894da81ca1f4c39b696c94fd1afab82 /example/src
parentba586c433f799db1f2b8161e188b1e1e0ae7c079 (diff)
downloadpurs-loader-f9d1a6b3c9833036e27920171e45bb73f1764fa3.tar.gz
purs-loader-f9d1a6b3c9833036e27920171e45bb73f1764fa3.tar.zst
purs-loader-f9d1a6b3c9833036e27920171e45bb73f1764fa3.zip
Adding basic example
Diffstat (limited to 'example/src')
-rw-r--r--example/src/Test.purs3
-rw-r--r--example/src/entry.js3
2 files changed, 6 insertions, 0 deletions
diff --git a/example/src/Test.purs b/example/src/Test.purs
new file mode 100644
index 0000000..7409c6e
--- /dev/null
+++ b/example/src/Test.purs
@@ -0,0 +1,3 @@
1module Test (test) where
2
3test = "a"
diff --git a/example/src/entry.js b/example/src/entry.js
new file mode 100644
index 0000000..65119f6
--- /dev/null
+++ b/example/src/entry.js
@@ -0,0 +1,3 @@
1var test = require('purs?no-prelude&output=output!./Test.purs');
2
3console.log(test);