Open ShetePro opened 2 weeks ago
First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md
When I use the plugin to package in esm format,The packaging result will contain import require$$0, { ... } from "vue"; Vue3x has no default export,This will cause a runtime error
import require$$0, { ... } from "vue";
not error
If use umd file, There will not be this problem.
Setting vue as an external dependency can solve this problem, but I don't know if there will be any other impact?
First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md
Step by step scenario
When I use the plugin to package in esm format,The packaging result will contain
import require$$0, { ... } from "vue";
Vue3x has no default export,This will cause a runtime errorActual Solution
Expected Solution
not error