Add empty mock for http2 (#5686)

This commit is contained in:
Kelvin Jin
2019-03-13 18:50:19 -07:00
committed by Ian Sutherland
parent a500ede755
commit 88d6f029bd

View File

@@ -641,6 +641,7 @@ module.exports = function(webpackEnv) {
dgram: 'empty',
dns: 'mock',
fs: 'empty',
http2: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty',