This repository has been archived by the owner on Nov 21, 2021. It is now read-only.
Using preload
with <script setup>
will leak server-side imports
#200
Labels
bug
Something isn't working
fs
will be unexpectedly added tosetup()
function even if it's not imported in<script setup>
but a regular<script>
block, this is a known issue of@vue/compiler-sfc
.The workaround is to not to use
preload
with the<script setup>
block.The text was updated successfully, but these errors were encountered: