]> git.immae.eu Git - github/fretlink/purs-loader.git/blob - example/webpack.config.js
Updating example and adding publishing
[github/fretlink/purs-loader.git] / example / webpack.config.js
1 var path = require('path');
2
3 var config
4 = { entry: './src/entry'
5 , output: { path: __dirname
6 , filename: 'bundle.js'
7 }
8 , module: { loaders: [ { test: /\.purs$/, loader: 'purs-loader' } ] }
9 , resolve: { modulesDirectories: [ 'node_modules',
10 'output'
11 ]
12 , extensions: ['', '.js', '.purs']
13 }
14 , resolveLoader: { root: path.join(__dirname, 'node_modules') }
15 }
16 ;
17
18 module.exports = config;