This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Description
In <script setup> declare a variable, if not initialization can cause compilation exceptions,
**Module Error (from ./node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js):
Cannot read property 'callee' of null
**
`<script setup>
defineProps(["msg"]);
let s;
// let s = 2;
</script>`
unplugin-vue2-script-setup": 0.6.7
@vue/composition-api: 1.1.0,
vue: ^2.6.14
webpack": "^5.50.0
https://github.com/es3154/vue2ScriptSetupTest