for example, when I am using vconsole. Use npm to install the js file import in my entry. I use it in a development environment, but in a production environment I don"t want to package vconsole into my js file.
I can selectively initialize vconsole in the form of environment variables. But as long as the import, the js will be packaged into the final js file.