diff options
author | eric thul <thul.eric@gmail.com> | 2015-01-13 22:03:00 -0500 |
---|---|---|
committer | eric thul <thul.eric@gmail.com> | 2015-01-13 22:03:00 -0500 |
commit | f9d1a6b3c9833036e27920171e45bb73f1764fa3 (patch) | |
tree | e5db46409894da81ca1f4c39b696c94fd1afab82 /example/src | |
parent | ba586c433f799db1f2b8161e188b1e1e0ae7c079 (diff) | |
download | purs-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.purs | 3 | ||||
-rw-r--r-- | example/src/entry.js | 3 |
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 @@ | |||
1 | module Test (test) where | ||
2 | |||
3 | test = "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 @@ | |||
1 | var test = require('purs?no-prelude&output=output!./Test.purs'); | ||
2 | |||
3 | console.log(test); | ||