]>
Commit | Line | Data |
---|---|---|
f9d1a6b3 | 1 | var path = require('path'); |
2 | ||
464355c7 | 3 | var 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 | ||
18 | module.exports = config; |