devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Electron should be an optional dependency

Open MaxLeiter opened this issue 3 years ago • 1 comments

What problem does this feature solve?

Vue devtools builds electron and includes it in the final bundle even if its not necessary, leading to an increased build time and log messages like 'Hoisted from "@vue#devtools#electron"'.

What does the proposed API look like?

Perhaps it can be included in optionalDependencies or peerDependencies in the package.json

MaxLeiter avatar Jun 07 '22 19:06 MaxLeiter

Maybe the connecting part can reside in a separate package?

beruic avatar Jun 14 '22 07:06 beruic