Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

234
Views
Electron: Should I still consider asar if I am already using a bundler (Webpack)?

The electron-packager docs mention three reasons why I might want to consider packaging my app into an asar archive (the Electron-specific archive format):

  1. Avoid issues with long path names on Windows
  2. Speed up require() calls in my code
  3. Make it slightly harder for the end user to inspect the source code (they have to first download asar and un-archive the app)

Now, I am already using Webpack, which already bundles all my JS into one file, so:

  1. No long nested path names -> No long path name issues on Windows
  2. No require() calls in the code -> Nothing to speed up
  3. I can minify and uglify the code -> Already pretty obfuscated

On the flipside, it seems to me that using asar could potentially be a risk, because it adds another layer of logic. It's an abstraction that could leak.

What am I missing?

Are there reasons why I should still consider asar, even when using Webpack?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!