refactor: robust configs
This commit is contained in:
parent
a185a4069b
commit
b0978ddbc3
|
@ -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]) => [{
|
||||
|
|
Loading…
Reference in New Issue
Block a user