Closed TintypeMolly closed 8 years ago
before(at 48a078a, current master
): 187.3MB
after: 124.7MB
before: 196.8MB after: 134.6MB
before: 192.6MB after: 130.5MB
before: 184MB after: 121.8MB
before: 213.3MB after: 151.2MB
The difference is not that big after zipped with current release though :(
수고하셨습니다
npm run build
now runs likeelectron-packaer
.npm run build -- --all
builds for all platforms and architectures. To build for specific platforms and architectures, runnpm run build -- --platform=<platform> --arch=<arch>
.<platform>
and<arch>
can be string or comma-delimited string for multiple targets. If not specified, the platform/arch of the host computer running Node is used. e.g.npm run build
without any argument will build for your machine's platform and architecture. For the detail, note https://github.com/electron-userland/electron-packager/blob/master/docs/api.md