Skip to content

Commit

Permalink
ignore node modules in static server
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed May 20, 2024
1 parent 2826a0a commit a356e5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ module.exports = {
liveReload: false,
port: 3333,
static: {
directory: '.'
directory: '.',
watch: {
ignored: ['.*', '**/node_modules']
}
}
},
devtool: 'source-map',
Expand Down

0 comments on commit a356e5a

Please sign in to comment.