blob: 19997f37bb92eb3c3888066bb3bf79db45f00bc7 (
plain) (
tree)
|
|
var path = require('path');
var config
= { entry: './src/entry'
, output: { path: __dirname
, filename: 'bundle.js'
}
, module: { loaders: [ { test: /\.purs$/, loader: 'purs-loader' } ] }
, resolve: { modulesDirectories: [ 'node_modules',
'output'
]
, extensions: ['', '.js', '.purs']
}
, resolveLoader: { root: path.join(__dirname, 'node_modules') }
}
;
module.exports = config;
|