aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'example/webpack.config.js')
-rw-r--r--example/webpack.config.js30
1 files changed, 16 insertions, 14 deletions
diff --git a/example/webpack.config.js b/example/webpack.config.js
index 629138a..19997f3 100644
--- a/example/webpack.config.js
+++ b/example/webpack.config.js
@@ -1,16 +1,18 @@
1var path = require('path'); 1var path = require('path');
2 2
3module.exports = { 3var config
4 entry: './src/entry', 4 = { entry: './src/entry'
5 output: { 5 , output: { path: __dirname
6 path: path.join(__dirname, 'dist'), 6 , filename: 'bundle.js'
7 filename: 'app.js' 7 }
8 }, 8 , module: { loaders: [ { test: /\.purs$/, loader: 'purs-loader' } ] }
9 resolve: { 9 , resolve: { modulesDirectories: [ 'node_modules',
10 modulesDirectories: [ 10 'output'
11 'node_modules', 11 ]
12 'web_modules', 12 , extensions: ['', '.js', '.purs']
13 'output' 13 }
14 ] 14 , resolveLoader: { root: path.join(__dirname, 'node_modules') }
15 } 15 }
16}; 16 ;
17
18module.exports = config;