UNPKG

292 BJavaScriptView Raw
1const StartServerPlugin = require('start-server-webpack-plugin');
2
3module.exports = (neutrino, options = {}) => neutrino.config
4 .plugin(options.pluginId || 'start-server')
5 .use(StartServerPlugin, [{
6 name: options.name,
7 nodeArgs: neutrino.options.debug ? ['--inspect'] : []
8 }]);