rollup-plugin-copy icon indicating copy to clipboard operation
rollup-plugin-copy copied to clipboard

Fix "incorrect default export" type issue

Open IGx89 opened this issue 2 years ago • 0 comments

See https://arethetypeswrong.github.io/?p=rollup-plugin-copy%403.5.0. Without this fix, ESM projects using Node16 moduleResolution get a "This expression is not callable" TS error when using this plugin.

Also see https://github.com/eight04/rollup-plugin-external-globals/pull/36 for the same fix done on a different rollup plugin.

IGx89 avatar Nov 27 '23 15:11 IGx89