Build for production Electron (using npm and webpack) -


when build electron app production still node_modules folder dependencies. folder constituted by:

  1. the dependencies installed via package.json noticed can delete them folder (since code inside webpack bundle.js )
  2. ffprobe-static, occupies largest amount 40mb
  3. the nodejs modules such ajv,deferential, debug, decamelize, etc (158 folders total, while don't know of them, let alone use them directly)

regarding 2: mandatory have binary ffprobe-static? can use ffprobe-static ffmpeg.dll given alongside electron binary?

regarding 3: why need these , how can rid of them? also, electron binary comes 18.9mb node.dll file. again, can't use instead of having again node_modules?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -