From d29ace10fc13b3c374be31d0973df51c1fa4c9dc Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Wed, 5 Feb 2025 11:23:14 -0800 Subject: [PATCH] webpack: disable performance hints --- demos/BunnyMark/webpack.config.js | 5 ++++- demos/NyanCat/webpack.config.js | 5 ++++- demos/PiratePig/webpack.config.js | 5 ++++- features/display/AddingAnimation/webpack.config.js | 5 ++++- features/display/DisplayingABitmap/webpack.config.js | 5 ++++- features/display/DrawingShapes/webpack.config.js | 5 ++++- features/display/UsingBitmapData/webpack.config.js | 5 ++++- features/display/UsingSWFAssets/webpack.config.js | 5 ++++- features/display3D/HelloTriangle/webpack.config.js | 5 ++++- features/display3D/Stage3DCamera/webpack.config.js | 5 ++++- features/display3D/Stage3DMipmap/webpack.config.js | 5 ++++- features/events/CreatingAMainLoop/webpack.config.js | 5 ++++- features/events/CreatingCustomEvents/webpack.config.js | 5 ++++- features/events/HandlingKeyboardEvents/webpack.config.js | 5 ++++- features/events/HandlingMouseEvents/webpack.config.js | 5 ++++- features/media/PlayingSound/webpack.config.js | 5 ++++- features/media/PlayingVideo/webpack.config.js | 5 ++++- features/text/AddingText/webpack.config.js | 5 ++++- 18 files changed, 72 insertions(+), 18 deletions(-) diff --git a/demos/BunnyMark/webpack.config.js b/demos/BunnyMark/webpack.config.js index 5727baa..7822517 100644 --- a/demos/BunnyMark/webpack.config.js +++ b/demos/BunnyMark/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/demos/NyanCat/webpack.config.js b/demos/NyanCat/webpack.config.js index 6140532..2156164 100644 --- a/demos/NyanCat/webpack.config.js +++ b/demos/NyanCat/webpack.config.js @@ -29,5 +29,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/demos/PiratePig/webpack.config.js b/demos/PiratePig/webpack.config.js index 38d35a8..93338aa 100644 --- a/demos/PiratePig/webpack.config.js +++ b/demos/PiratePig/webpack.config.js @@ -25,5 +25,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/display/AddingAnimation/webpack.config.js b/features/display/AddingAnimation/webpack.config.js index e437925..cfabfb2 100644 --- a/features/display/AddingAnimation/webpack.config.js +++ b/features/display/AddingAnimation/webpack.config.js @@ -25,5 +25,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/display/DisplayingABitmap/webpack.config.js b/features/display/DisplayingABitmap/webpack.config.js index 5727baa..7822517 100644 --- a/features/display/DisplayingABitmap/webpack.config.js +++ b/features/display/DisplayingABitmap/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/display/DrawingShapes/webpack.config.js b/features/display/DrawingShapes/webpack.config.js index 5727baa..7822517 100644 --- a/features/display/DrawingShapes/webpack.config.js +++ b/features/display/DrawingShapes/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/display/UsingBitmapData/webpack.config.js b/features/display/UsingBitmapData/webpack.config.js index 5727baa..7822517 100644 --- a/features/display/UsingBitmapData/webpack.config.js +++ b/features/display/UsingBitmapData/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/display/UsingSWFAssets/webpack.config.js b/features/display/UsingSWFAssets/webpack.config.js index 6140532..2156164 100644 --- a/features/display/UsingSWFAssets/webpack.config.js +++ b/features/display/UsingSWFAssets/webpack.config.js @@ -29,5 +29,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/display3D/HelloTriangle/webpack.config.js b/features/display3D/HelloTriangle/webpack.config.js index 5727baa..7822517 100644 --- a/features/display3D/HelloTriangle/webpack.config.js +++ b/features/display3D/HelloTriangle/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/display3D/Stage3DCamera/webpack.config.js b/features/display3D/Stage3DCamera/webpack.config.js index 5727baa..7822517 100644 --- a/features/display3D/Stage3DCamera/webpack.config.js +++ b/features/display3D/Stage3DCamera/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/display3D/Stage3DMipmap/webpack.config.js b/features/display3D/Stage3DMipmap/webpack.config.js index 5727baa..7822517 100644 --- a/features/display3D/Stage3DMipmap/webpack.config.js +++ b/features/display3D/Stage3DMipmap/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/events/CreatingAMainLoop/webpack.config.js b/features/events/CreatingAMainLoop/webpack.config.js index 5727baa..7822517 100644 --- a/features/events/CreatingAMainLoop/webpack.config.js +++ b/features/events/CreatingAMainLoop/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/events/CreatingCustomEvents/webpack.config.js b/features/events/CreatingCustomEvents/webpack.config.js index 5727baa..7822517 100644 --- a/features/events/CreatingCustomEvents/webpack.config.js +++ b/features/events/CreatingCustomEvents/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/events/HandlingKeyboardEvents/webpack.config.js b/features/events/HandlingKeyboardEvents/webpack.config.js index 5727baa..7822517 100644 --- a/features/events/HandlingKeyboardEvents/webpack.config.js +++ b/features/events/HandlingKeyboardEvents/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/events/HandlingMouseEvents/webpack.config.js b/features/events/HandlingMouseEvents/webpack.config.js index e437925..cfabfb2 100644 --- a/features/events/HandlingMouseEvents/webpack.config.js +++ b/features/events/HandlingMouseEvents/webpack.config.js @@ -25,5 +25,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/media/PlayingSound/webpack.config.js b/features/media/PlayingSound/webpack.config.js index e437925..cfabfb2 100644 --- a/features/media/PlayingSound/webpack.config.js +++ b/features/media/PlayingSound/webpack.config.js @@ -25,5 +25,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/media/PlayingVideo/webpack.config.js b/features/media/PlayingVideo/webpack.config.js index e437925..cfabfb2 100644 --- a/features/media/PlayingVideo/webpack.config.js +++ b/features/media/PlayingVideo/webpack.config.js @@ -25,5 +25,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file diff --git a/features/text/AddingText/webpack.config.js b/features/text/AddingText/webpack.config.js index 5727baa..7822517 100644 --- a/features/text/AddingText/webpack.config.js +++ b/features/text/AddingText/webpack.config.js @@ -24,5 +24,8 @@ module.exports = { "public" ] }) - ] + ], + performance: { + hints: false + } }; \ No newline at end of file