refactor: robust configs

This commit is contained in:
cha0s 2020-12-17 01:34:06 -06:00
parent a185a4069b
commit b0978ddbc3

View File

@ -70,8 +70,6 @@ const client = {
.port(HTTP_DEV_PORT)
.public(HTTP_DEV_PUBLIC);
}
neutrino.config.node.set('Buffer', true);
neutrino.config.module.rule('compile').include.add(`${process.cwd()}/src`);
},
],
};
@ -121,6 +119,8 @@ client.use.push((neutrino) => {
latus.invokeFlat('@latus/http/build', client);
client.use.push((neutrino) => {
const {title} = latus.config['@latus/http'];
neutrino.config.node.set('Buffer', true);
neutrino.config.module.rule('compile').include.add(`${process.cwd()}/src`);
neutrino.config
.plugin('html-index')
.tap(([options]) => [{