From a356e5a6c7b18aae14affd2b80bd666199adc142 Mon Sep 17 00:00:00 2001 From: Kieran Farr Date: Mon, 20 May 2024 16:25:17 -0700 Subject: [PATCH] ignore node modules in static server --- webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 4e8943541..bde662b69 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,7 +10,10 @@ module.exports = { liveReload: false, port: 3333, static: { - directory: '.' + directory: '.', + watch: { + ignored: ['.*', '**/node_modules'] + } } }, devtool: 'source-map',