diff options
Diffstat (limited to 'example/webpack.config.js')
-rw-r--r-- | example/webpack.config.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/example/webpack.config.js b/example/webpack.config.js deleted file mode 100644 index 602de84..0000000 --- a/example/webpack.config.js +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | var PurescriptWebpackPlugin = require('purescript-webpack-plugin'); | ||
4 | |||
5 | var src = ['bower_components/purescript-*/src/**/*.purs', 'src/**/*.purs']; | ||
6 | |||
7 | var ffi = ['bower_components/purescript-*/src/**/*.js', 'src/**/*FFI.js']; | ||
8 | |||
9 | var modulesDirectories = [ | ||
10 | 'node_modules', | ||
11 | 'bower_components' | ||
12 | ]; | ||
13 | |||
14 | var config | ||
15 | = { entry: './src/entry' | ||
16 | , output: { path: __dirname | ||
17 | , pathinfo: true | ||
18 | , filename: 'bundle.js' | ||
19 | } | ||
20 | , module: { loaders: [ { test: /\.purs$/ | ||
21 | , loader: 'purs-loader' | ||
22 | } ] } | ||
23 | , resolve: { modulesDirectories: modulesDirectories, extensions: [ '', '.js', '.purs'] } | ||
24 | , plugins: [ new PurescriptWebpackPlugin({src: src, ffi: ffi}) ] | ||
25 | } | ||
26 | ; | ||
27 | |||
28 | module.exports = config; | ||