aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/src/entry.js
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2015-12-29 08:24:06 -0500
committereric thul <thul.eric@gmail.com>2015-12-29 08:24:06 -0500
commitc01553307e6fcd0abada0b9b2f9ca8d6bb82b863 (patch)
treef8ad39dc0d21ae4add8f2a3877edf24294d2910f /example/src/entry.js
parentc9ffb38360a93d51f047a184ae13462cb90edb71 (diff)
downloadpurs-loader-c01553307e6fcd0abada0b9b2f9ca8d6bb82b863.tar.gz
purs-loader-c01553307e6fcd0abada0b9b2f9ca8d6bb82b863.tar.zst
purs-loader-c01553307e6fcd0abada0b9b2f9ca8d6bb82b863.zip
Updating example for .purs extension
Showing usage of specifying .purs and not specifying an extension for require statements.
Diffstat (limited to 'example/src/entry.js')
-rw-r--r--example/src/entry.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/example/src/entry.js b/example/src/entry.js
index 57808c2..a1e2a99 100644
--- a/example/src/entry.js
+++ b/example/src/entry.js
@@ -1,11 +1,11 @@
1var Prelude = require('purescript-prelude/src/Prelude.purs'); 1var Prelude = require('purescript-prelude/src/Prelude');
2 2
3var test = require('./Test.purs'); 3var test = require('./Test');
4 4
5var foo = require('./Foo.purs'); 5var foo = require('./Foo.purs');
6 6
7var baz = require('./Foo/Baz.purs'); 7var baz = require('./Foo/Baz');
8 8
9var bar = require('./bar'); 9var jam = require('./jam');
10 10
11console.log(Prelude, test, foo, baz, bar); 11console.log(Prelude, test, foo, baz, jam);