joyent-portal/spikes/graphs-fe/plotly/server/plugins.js

16 lines
330 B
JavaScript
Raw Permalink Normal View History

2016-11-07 16:35:58 +02:00
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')
}
}
];