aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/webpack.config.js
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2015-07-18 17:07:38 -0400
committereric thul <thul.eric@gmail.com>2015-07-18 17:07:38 -0400
commit3610dff1b8308a810d827f0595832b326deff37b (patch)
treea4858f5e16e3df01aee249ad53b5b76f90fb97de /example/webpack.config.js
parent418c9429609c6d80ddaf7df41e0ee64192e2ec7b (diff)
downloadpurs-loader-3610dff1b8308a810d827f0595832b326deff37b.tar.gz
purs-loader-3610dff1b8308a810d827f0595832b326deff37b.tar.zst
purs-loader-3610dff1b8308a810d827f0595832b326deff37b.zip
Add FFI JavaScript as a webpack dependency
Resolves #18
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 }