UNPKG

dpaw-brocket-prs-plugin

Version:

PRS plugin for the brocket network

41 lines (37 loc) 766 B
var path = require('path'); var webpack = require('webpack'); module.exports = { // entry: "./index.js", entry: "mocha!./test/index.js", output: { path: __dirname, filename: "./dist/bundle.js", // filename: "./dist/bundle.js", libraryTarget: "var", library: "Plugin" }, externals: { 'leaflet': 'L' }, 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' } ] } };