This commit is contained in:
cha0s 2021-01-20 09:49:47 -06:00
parent b2f84fde52
commit 671e23b989
3 changed files with 6 additions and 1 deletions

View File

@ -29,7 +29,9 @@ module.exports = {
}],
}),
mocha(),
node(),
node({
hot: false,
}),
(neutrino) => {
[
'components',

View File

@ -41,6 +41,7 @@ const client = {
(neutrino) => {
web({
clean: false,
hot: false,
html: {
inject: false,
template: `${neutrino.options.root}/client/index.ejs`,
@ -128,6 +129,7 @@ client.use.push((neutrino) => {
const isProduction = 'production' === neutrino.config.get('mode');
if (!isProduction) {
neutrino.config.devServer
.hot(false)
.host(HTTP_DEV_HOST)
.port(HTTP_DEV_PORT)
.public(HTTP_DEV_PUBLIC);

View File

@ -8,6 +8,7 @@ const middleware = (neutrino) => {
});
neutrino.use(react({
clean: false,
hot: false,
html: {
inject: false,
template: `${neutrino.options.root}/client/index.ejs`,