Imports in normal `<script>` are exposed to template when using alongside `<script setup>`
Version
3.0.5
Reproduction link
https://repl.it/@egoist/SpecificEnergeticPackages#src/App.vue
Steps to reproduce
See the link
What is expected?
Do not expose imports in normal <script>
What is actually happening?
imports in normal <script>
are also exposed. which is unexpected.
I'm not sure if this is intentional, but it seems reasonable that imports in normal scripts are not exposed to templates