Update: 禁用webpack devServer中hot

This commit is contained in:
王立帮
2024-10-08 11:28:09 +08:00
parent c9956ddfa7
commit 521b84087a
18 changed files with 18 additions and 18 deletions

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false

View File

@@ -22,7 +22,7 @@ module.exports = merge(common, {
https: true, https: true,
port: 8080, port: 8080,
host: '0.0.0.0', host: '0.0.0.0',
hot: true, hot: false,
static: { static: {
directory: path.join(process.cwd(), '../../../'), directory: path.join(process.cwd(), '../../../'),
watch: false watch: false