Skip to content

Commit 2c47062

Browse files
authored
chore: Update webpack.config.js (#1153)
Add a cautionary comment about `devServer` being a security problem. ## References GHSA-wr3j-pwj9-hqq6
1 parent c276266 commit 2c47062

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
const {resolve} = require('path')
2+
// XXX do not export a devServer from this file.
3+
// See https://github.com/advisories/GHSA-wr3j-pwj9-hqq6 for more info.
24
module.exports = {
35
resolve: {
46
alias: {

0 commit comments

Comments
 (0)