rollup-plugin-copy
rollup-plugin-copy copied to clipboard
Fix "incorrect default export" type issue
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.