diff options
Diffstat (limited to 'example/webpack.config.js')
-rw-r--r-- | example/webpack.config.js | 4 |
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 | ||
3 | var srcs = ['src[]=bower_components/purescript-*/src/**/*.purs', 'src[]=src/**/*.purs']; | 3 | var srcs = ['src[]=bower_components/purescript-*/src/**/*.purs', 'src[]=src/**/*.purs']; |
4 | 4 | ||
5 | var ffis = ['ffi[]=bower_components/purescript-*/src/**/*.js']; | 5 | var ffis = ['ffi[]=bower_components/purescript-*/src/**/*.js', 'ffi[]=src/**/*FFI.js']; |
6 | 6 | ||
7 | var output = 'output'; | 7 | var 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 | } |