Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enable Closure when emitting an ES module. #3893

Open
@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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions