-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when the build esm format file, Vue will be packaged as default export #273
Comments
If use umd file, There will not be this problem. |
+1 same problem when using vite, got error: The compiled js file contains |
+1 same problem |
vite.config.js add build config
|
thank you for you |
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 error
Actual Solution
Expected Solution
not error
The text was updated successfully, but these errors were encountered: