Closed yeatszhang closed 3 years ago
Hey there, I don't think your issue is caused by this plugin, if you check the snapshot diff you can see the semi colon is already there and this change just adds an extra semi colon
Looking at the other differences in your outputted code I suspect your problem may lie in the plugin you are using for minification, if using terser I would suggest checking the settings.
@mattlewis92 Thank you, maybe you are right, I will debug it again, thank you for your suggestions
Add a semicolon to prevent problems caused by the webpack production environment. We have used a lot of optimized plug-ins, and have not yet located which plug-in caused it~
eg: