]> git.immae.eu Git - github/fretlink/purs-loader.git/blame - example/webpack.config.js
Bumping version number to 0.2.1
[github/fretlink/purs-loader.git] / example / webpack.config.js
CommitLineData
f9d1a6b3 1var path = require('path');
2
464355c7 3var config
4 = { entry: './src/entry'
5 , output: { path: __dirname
6 , filename: 'bundle.js'
7 }
a72c8af1 8 , module: { loaders: [ { test: /\.purs$/, loader: 'purs-loader?src[]=src' } ] }
464355c7 9 , resolve: { modulesDirectories: [ 'node_modules',
10 'output'
11 ]
12 , extensions: ['', '.js', '.purs']
13 }
14 , resolveLoader: { root: path.join(__dirname, 'node_modules') }
15 }
16 ;
17
18module.exports = config;