ci010 / electron-vue-next

A starter template for using vue-next with the electron.
https://ci010.github.io/electron-vue-next/
191 stars 27 forks source link

build-optimize #33

Closed ci010 closed 3 years ago

ci010 commented 3 years ago

Should "fix" #30 The issue is rollup cannot handle circular dependencies like webpack (due to the esmodule behavior). So it cannot bundle some nodejs package, including the electron-updater.

This patch do the two things

  1. Don't let rollup bundle the packages marked as external in package.json
  2. Include those external packages into the electron build asar by two-package-structure