You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please respect maintainers time by filling in these sections. Your issue will likely be closed without this information.
Vue Version: 3.3.4
Vue Select Version: 4.0.0-beta.6
Describe the bug
The umd build gets recognized as ESM by esbuild/tsup because its file extension is .js and the package.json specifies "type": "module" it should have a .cjs extension to be recognized correctly.
Reproduction Link
Steps To Reproduce
Build a package using vue-select with tsup for node (SSR) in CJS format.
Expected behavior
It builds correctly, instead, due to incorrectly assuming the UMD build is ESM, the module.exports statement will be left in the bundle and will overwrite the real module.exports.
The text was updated successfully, but these errors were encountered:
Describe the bug
The umd build gets recognized as ESM by esbuild/tsup because its file extension is
.js
and thepackage.json
specifies"type": "module"
it should have a.cjs
extension to be recognized correctly.Reproduction Link
Steps To Reproduce
tsup
for node (SSR) in CJS format.Expected behavior
It builds correctly, instead, due to incorrectly assuming the UMD build is ESM, the
module.exports
statement will be left in the bundle and will overwrite the realmodule.exports
.The text was updated successfully, but these errors were encountered: