I have read
this https://github.com/magento/magento2/issues/5835
and this Exclude custommodule Js from minification of Js in Magento2
and this https://github.com/magento/magento2/pull/13687
and I still don’t know how to modify config.xml to exclude 3rd party .js
The module is from an extension by Mageplaza https://www.mageplaza.com/magento-2-social-share/
The code I add to the module config.xml is
<dev> <js> <minify_exclude> <config>https://static.addtoany.com/menu/page.js</config> </minify_exclude> </js> </dev>