blob: f67e83ac24248fa4e2ffa6340b691b0167b62c2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
var path = require('path');
var config
= { entry: './src/entry'
, output: { path: __dirname
, filename: 'bundle.js'
}
, module: { loaders: [ { test: /\.purs$/, loader: 'purs-loader?src[]=src' } ] }
, resolve: { modulesDirectories: [ 'node_modules',
'output'
]
, extensions: ['', '.js', '.purs']
}
, resolveLoader: { root: path.join(__dirname, 'node_modules') }
}
;
module.exports = config;
|