joyent-portal/spikes/graphs-matrix/chartjs-whiskers/server/plugins.js
2016-11-25 09:26:53 +00:00

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')
}
}
];