<template>
<div>
</div>
</template>
<script>
</script>
if the above code, as a simple component, is referenced in other components, the compilation of the development environment will not report an error, but as soon as it is packaged, it will report that Cannot set property render of undefined", will not report an error if it does not write this script empty tag, or it may be written with export default {}
. Why, considering that the component is not exposed, why does the development environment not report an error? ask for divine guidance