qnighy / node-cjs-interop

Babel plugin and helper functions for interoperation between Node.js native ESM and Babel ESM
MIT License
25 stars 1 forks source link

[SWC] Missing export __get_transform_plugin_core_pkg_diagfailed to invoke plugin #43

Closed SettingDust closed 1 year ago

SettingDust commented 2 years ago
Caused by:
    Missing export __get_transform_plugin_core_pkg_diagfailed to invoke plugin: failed to invoke plugin on 'Some("src/index.ts")'
"experimental": {
  "plugins": [
    ["swc-plugin-node-cjs-interop", {
      "packages": ["ts-deepmerge"]
    }]
  ]
}
qnighy commented 2 years ago

Thank you for the report. What version of SWC are you using?

SettingDust commented 2 years ago

"@swc/core": "^1.3.14",

qnighy commented 1 year ago

I have updated SWC dependencies. As this is likely some sort of version incompatibility, I'll go ahead and close this issue for now. Feel free to reopen or file another issue if you observe similar issues after the upgrade.