var path = require("path");
var webpack = require("webpack");
function absdir(r){
return path.resolve(__dirname, r) ;
}
function output_fn(name, dirname){
dirname = dirname || 'dist';
var dir = absdir( dirname) ;
return { path: dir, filename: name, publicPath: "/" + dirname, library: 'wdf' };
}
function cfg(entry_point, out_file, customizer){
var c = {
entry: entry_point,
output: output_fn(out_file),
devtool: "source-map",
module: {
preLoaders: [
{
test: /\.js$/,
loaders: ['jshint'],