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