var skeletonrequire('./webpack-skeleton'); var webpackrequire('webpack'); var pathrequire('path'); var NodeTargetPluginrequire('webpack/lib/node/NodeTargetPlugin'); var config = _AN_Call_assign('assign', Object, { } , skeleton, { module: { loaders: [{ test: /(\.js|\.jsx)?$/, exclude: /(node_modules|bower_components)/, loader: 'babel'} , { test: /\.styl$/, exclude: /(node_modules|bower_components)/, loader: 'style!css?modules&importLoaders=1&localIdentName=[name]__[local]___[path]!stylus?sourceMap'} ] } , output: { path: path.join(__dirname, 'compiled'), filename: '[name].js', libraryTarget: 'commonjs2', sourceMapFilename: '[name].map', publicPath: 'http://localhost:8080/assets/'} , plugins: [new webpack.NoErrorsPlugin(), new NodeTargetPlugin(), new webpack.optimize.OccurenceOrderPlugin(), new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify('production'), 'BABEL_ENV': JSON.stringify('production')} } ), new webpack.optimize.UglifyJsPlugin({ compressor: { warnings: false } } )] } ); module.exports = config;