aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/package.json2
-rw-r--r--example/src/entry.js10
-rw-r--r--example/src/jam.js (renamed from example/src/bar.js)2
-rw-r--r--example/webpack.config.js2
4 files changed, 8 insertions, 8 deletions
diff --git a/example/package.json b/example/package.json
index 5f7ee63..e256de8 100644
--- a/example/package.json
+++ b/example/package.json
@@ -11,7 +11,7 @@
11 "license": "MIT", 11 "license": "MIT",
12 "devDependencies": { 12 "devDependencies": {
13 "node-libs-browser": "^0.5.2", 13 "node-libs-browser": "^0.5.2",
14 "purescript-webpack-plugin": "^0.1.0", 14 "purescript-webpack-plugin": "^0.1.1",
15 "purs-loader": "file:../", 15 "purs-loader": "file:../",
16 "webpack": "^1.12.9" 16 "webpack": "^1.12.9"
17 } 17 }
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);
diff --git a/example/src/bar.js b/example/src/jam.js
index 8c3bb91..8889a69 100644
--- a/example/src/bar.js
+++ b/example/src/jam.js
@@ -1,5 +1,5 @@
1var x = 'a'; 1var x = 'a';
2 2
3var abcde = require('./Bar.purs'); 3var abcde = require('./Bar');
4 4
5module.exports = abcde; 5module.exports = abcde;
diff --git a/example/webpack.config.js b/example/webpack.config.js
index 7f468c8..602de84 100644
--- a/example/webpack.config.js
+++ b/example/webpack.config.js
@@ -20,7 +20,7 @@ var config
20 , module: { loaders: [ { test: /\.purs$/ 20 , module: { loaders: [ { test: /\.purs$/
21 , loader: 'purs-loader' 21 , loader: 'purs-loader'
22 } ] } 22 } ] }
23 , resolve: { modulesDirectories: modulesDirectories } 23 , resolve: { modulesDirectories: modulesDirectories, extensions: [ '', '.js', '.purs'] }
24 , plugins: [ new PurescriptWebpackPlugin({src: src, ffi: ffi}) ] 24 , plugins: [ new PurescriptWebpackPlugin({src: src, ffi: ffi}) ]
25 } 25 }
26 ; 26 ;