1 | const StartServerPlugin = require('start-server-webpack-plugin');
|
2 |
|
3 | module.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 | }]);
|