aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/webpack.config.js
diff options
context:
space:
mode:
authoreric <thul.eric@gmail.com>2015-07-18 17:11:00 -0400
committereric <thul.eric@gmail.com>2015-07-18 17:11:00 -0400
commit78da2ff4a8ba259403efc166d3f753068221914e (patch)
treea4858f5e16e3df01aee249ad53b5b76f90fb97de /example/webpack.config.js
parent418c9429609c6d80ddaf7df41e0ee64192e2ec7b (diff)
parent3610dff1b8308a810d827f0595832b326deff37b (diff)
downloadpurs-loader-78da2ff4a8ba259403efc166d3f753068221914e.tar.gz
purs-loader-78da2ff4a8ba259403efc166d3f753068221914e.tar.zst
purs-loader-78da2ff4a8ba259403efc166d3f753068221914e.zip
Merge pull request #20 from ethul/topic/issue-18
Add FFI JavaScript as a webpack dependency
Diffstat (limited to 'example/webpack.config.js')
-rw-r--r--example/webpack.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/webpack.config.js b/example/webpack.config.js
index 9294904..1a0eef6 100644
--- a/example/webpack.config.js
+++ b/example/webpack.config.js
@@ -2,7 +2,7 @@ var path = require('path');
2 2
3var srcs = ['src[]=bower_components/purescript-*/src/**/*.purs', 'src[]=src/**/*.purs']; 3var srcs = ['src[]=bower_components/purescript-*/src/**/*.purs', 'src[]=src/**/*.purs'];
4 4
5var ffis = ['ffi[]=bower_components/purescript-*/src/**/*.js']; 5var ffis = ['ffi[]=bower_components/purescript-*/src/**/*.js', 'ffi[]=src/**/*FFI.js'];
6 6
7var output = 'output'; 7var output = 'output';
8 8
@@ -22,7 +22,7 @@ var config
22 , loader: 'purs-loader?output=' + output + '&' + srcs.concat(ffis).join('&') 22 , loader: 'purs-loader?output=' + output + '&' + srcs.concat(ffis).join('&')
23 } ] } 23 } ] }
24 , resolve: { modulesDirectories: modulesDirectories 24 , resolve: { modulesDirectories: modulesDirectories
25 , extensions: ['', '.js', '.purs'] 25 , extensions: ['', '.js']
26 } 26 }
27 , resolveLoader: { root: path.join(__dirname, 'node_modules') } 27 , resolveLoader: { root: path.join(__dirname, 'node_modules') }
28 } 28 }