UNPKG

dpaw-monorail-plugin

Version:

JS library to link the brocket network to the QGIS/monorail server

34 lines (30 loc) 650 B
var path = require('path'); var webpack = require('webpack'); module.exports = { entry: "./index.js", // entry: "mocha!./test/index.js", output: { path: path.join(__dirname, '.'), filename: './dist/bundle.js', publicPath: '/' }, 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' } ] } };