UNPKG

dpaw-brocket-urstate

Version:
32 lines (28 loc) 592 B
var path = require('path'); var webpack = require('webpack'); module.exports = { entry: "mocha!./test/index.js", output: { path: __dirname, filename: "./dist/test-bundle.js" }, module: { loaders: [ { test: /\.css$/, loader: "style!css" }, { test: /\.js$/, loaders: ['babel'], include: [ path.join(__dirname, 'src'), path.join(__dirname, 'test'), /node_modules\/dpaw-.*/ ] // exclude: /node_modules/ }, { test: /\.json$/, loader: 'json' } ] } };