Skip to content

Enable Closure when emitting an ES module. #3893

@Kesanov

Description

@Kesanov

When the ES module option is active:

scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.ESModule) }

the js file obtained trough fullOptJS isn't minified and project-opt.js is only 3% smaller in size than project-fast-opt.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    optimizationOptimization only. Does not affect semantics or correctness.wontfixWe decided not to fix this issue/not implement that feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions