Skip to content

Optimisation #319

@peebeebee

Description

@peebeebee

Issue Type

  • Reporting a typo
  • Reporting a documentation bug
  • Documentation improvement
  • Documentation feedback

Request Description

In the electron.config.ts file, it states

if (options.optimization) {
    webpackConfig.optimization = {
      minimize: false,
      concatenateModules: false,
    };
  }

The tests also confirm this should be correct

 describe('the optimization option when true', () => {
    it('should not minify', () => {

I do wonder why? Shouldn't optimisation actually minify?

I'd love to have this clarified a bit. I am willing to open a pull request for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions