var webpack = require ('webpack'); module.exports = { entry: './app.js', output: { path: __dirname, filename: 'hedera-web.js' }, module: { loaders: [ { test: /\.css$/, loader: 'style!css' }, { test: /\.json$/, loader: 'json' }, { test: /\.png$/, loader: 'file' }, { test: /\.xml$/, loader: 'raw' } ] }, resolve: { modulesDirectories: [__dirname +'/js', __dirname, 'node_modules'], fallback: process.env.NODE_PATH, }, resolveLoader: { fallback: process.env.NODE_PATH }, plugins: [ /*new webpack.optimize.UglifyJsPlugin ({minimize: true})*/ ] };