hedera-web/webpack.config.js

31 lines
611 B
JavaScript
Raw Normal View History

2016-09-24 14:32:31 +00:00
var webpack = require ('webpack');
module.exports =
{
entry: './app.js',
output: {
path: __dirname,
filename: 'hedera-web.js'
2016-09-26 09:28:47 +00:00
},
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})*/
]
2016-09-24 14:32:31 +00:00
};