mirror of
https://github.com/yldio/copilot.git
synced 2024-12-11 04:20:05 +02:00
9d3903a1db
This is an initial implement that at the moment constructs the required SVG layout to be used by D3.
16 lines
330 B
JavaScript
16 lines
330 B
JavaScript
const webpack = require('webpack');
|
|
const path = require('path');
|
|
|
|
const cfg = require('../webpack.config.js');
|
|
|
|
module.exports = [
|
|
require('inert'),
|
|
require('nes'), {
|
|
register: require('hapi-webpack-dev-plugin'),
|
|
options: {
|
|
compiler: webpack(cfg),
|
|
devIndex: path.join(__dirname, '../static')
|
|
}
|
|
}
|
|
];
|