This repository was archived by the owner on Dec 25, 2024. It is now read-only.
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
If not given a variable initialization, it will cause compilation error #46
Closed
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
Metadata
Metadata
Assignees
Labels
No labels