mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-22 20:39:05 +08:00
Add empty mock for http2 (#5686)
This commit is contained in:
committed by
Ian Sutherland
parent
a500ede755
commit
88d6f029bd
@@ -641,6 +641,7 @@ module.exports = function(webpackEnv) {
|
||||
dgram: 'empty',
|
||||
dns: 'mock',
|
||||
fs: 'empty',
|
||||
http2: 'empty',
|
||||
net: 'empty',
|
||||
tls: 'empty',
|
||||
child_process: 'empty',
|
||||
|
||||
Reference in New Issue
Block a user