UNPKG

dpaw-brocket-relay

Version:

Interapp communication via websockets

36 lines (33 loc) 796 B
var path = require('path'); var webpack = require('webpack'); module.exports = { // entry: "./index.js", // Toggle comments for prod entry: "mocha!./test/index.js", // and test output: { path: __dirname, // filename: "./dist/bundle.js" // prod filename: "./dist/bundle.js" // test (i know right...) }, plugins: [], module: { loaders: [ { test: /\.css$/, loader: "style!css" }, { test: /\.js$/, loader: 'babel', query: { presets: ['es2015', 'stage-2'] }, include: [ path.join(__dirname, 'src'), path.join(__dirname, 'test'), ], exclude: /node_modules/ }, { test: /\.json$/, loader: 'json' } ] } };