give  `canUseDOM` with a possibility to be a constant (#14194)
give  `canUseDOM` with a possibility to be a constant (#14194)

https://webpack.js.org/plugins/define-plugin/

Webpack's DefinePlugin has the ability to replace `typeof expr` to a constant in compile-time, which should lead to better dead-code-elimination.
VioletLife/react,tomocchino/react,yungsters/react,ArunTesco/react,facebook/react,mosoft521/react,mosoft521/react,chicoxyzzy/react,rricard/react,yungsters/react,camsong/react,Simek/react,VioletLife/react,flarnie/react,Simek/react,trueadm/react,cpojer/react,rickbeerendonk/react,yiminghe/react,TheBlasfem/react,glenjamin/react,billfeller/react,VioletLife/react,camsong/react,facebook/react,VioletLife/react,yiminghe/react,jzmq/react,VioletLife/react,chicoxyzzy/react,cpojer/react,yiminghe/react,flarnie/react,STRML/react,Simek/react,flarnie/react,rricard/react,terminatorheart/react,rickbeerendonk/react,mjackson/react,rickbeerendonk/react,ericyang321/react,tomocchino/react,STRML/react,chenglou/react,mosoft521/react,jzmq/react,trueadm/react,mosoft521/react,glenjamin/react,trueadm/react,camsong/react,billfeller/react,yungsters/react,yiminghe/react,cpojer/react,ArunTesco/react,trueadm/react,flarnie/react,rricard/react,chicoxyzzy/react,jzmq/react,terminatorheart/react,chenglou/react,Simek/react,chenglou/react,glenjamin/react,mjackson/react,terminatorheart/react,jzmq/react,facebook/react,glenjamin/react,acdlite/react,jzmq/react,STRML/react,glenjamin/react,TheBlasfem/react,terminatorheart/react,ericyang321/react,cpojer/react,STRML/react,cpojer/react,rickbeerendonk/react,VioletLife/react,facebook/react,ericyang321/react,STRML/react,chenglou/react,mjackson/react,mjackson/react,tomocchino/react,billfeller/react,chicoxyzzy/react,rricard/react,facebook/react,camsong/react,TheBlasfem/react,tomocchino/react,mosoft521/react,cpojer/react,rricard/react,TheBlasfem/react,billfeller/react,TheBlasfem/react,rickbeerendonk/react,Simek/react,flarnie/react,mjackson/react,yiminghe/react,TheBlasfem/react,Simek/react,chenglou/react,billfeller/react,flarnie/react,acdlite/react,acdlite/react,terminatorheart/react,glenjamin/react,camsong/react,ericyang321/react,acdlite/react,rickbeerendonk/react,VioletLife/react,trueadm/react,STRML/react,acdlite/react,yungsters/react,chenglou/react,yiminghe/react,rickbeerendonk/react,yungsters/react,yungsters/react,STRML/react,jzmq/react,terminatorheart/react,flarnie/react,ericyang321/react,billfeller/react,ericyang321/react,trueadm/react,trueadm/react,camsong/react,chicoxyzzy/react,mjackson/react,mosoft521/react,ArunTesco/react,tomocchino/react,jzmq/react,ericyang321/react,rricard/react,chicoxyzzy/react,glenjamin/react,yiminghe/react,tomocchino/react,acdlite/react,chicoxyzzy/react,acdlite/react,camsong/react,facebook/react,cpojer/react,mosoft521/react,Simek/react,yungsters/react,tomocchino/react,billfeller/react,mjackson/react,chenglou/react,facebook/react