fix(sfc): prune returned bindings for non-TS as well
In Vue 3, pruning is only done for TS to produce valid code and tree-shaking is done by inlining the template for production. In Vue 2 we do not inline the template in production, so return binding pruning is needed in all cases. fix #12765
E
Evan You committed
fb1393009660b38046b1f6dfb532b481cc53b3b7
Parent: 87f69aa