Using the plugin as is overwrites existing build.rollupOptions.external.
It appears that this is because it returns a function instead of an array which isn't merge-able.
I'd recommend updating the readme to mention that if you already have an external array, you can just move its contents to include within the externalizeDeps argument.
Using the plugin as is overwrites existing build.rollupOptions.external.
It appears that this is because it returns a function instead of an array which isn't merge-able.
I'd recommend updating the readme to mention that if you already have an
externalarray, you can just move its contents toincludewithin the externalizeDeps argument.