coverage for http2.shouldPush

This commit is contained in:
Pooya Parsa 2018-01-05 13:04:52 +03:30
parent 1dc0bfc903
commit 0c3abbb2db

View File

@ -70,7 +70,8 @@ module.exports = {
],
render: {
http2: {
push: true
push: true,
shouldPush: (file, type) => type === 'script'
},
bundleRenderer: {
shouldPreload: (file, type) => {