aboutsummaryrefslogblamecommitdiffhomepage
path: root/example/webpack.config.js
blob: f67e83ac24248fa4e2ffa6340b691b0167b62c2f (plain) (tree)
1
2
3
4
5
6
7
8

                           




                                     
                                                                                   









                                                                   
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;