Skip to content

Stop minifying bundles? #1077

@ecraig12345

Description

@ecraig12345

Especially once the Azure deps are moved out to a plugin (#1037) it might make sense to stop minifying the lage bundles. Apparently the primary perf benefit of bundling build tools comes from removing the import resolution step, not from minification, especially for a tool like lage which is invoked/parsed once.

The non-minified code alone would increase the package size, but it would also allow removing the sourcemaps, so that would probably balance out.

Also worth taking another look at the previous attempt at a separate lage-debug command in #744 and some of the other logic that was added in that PR (bundling updates, execa--though splitting the unrelated parts out).

Metadata

Metadata

Assignees

No one assigned

    Labels

    lage-v3Work items for lage v3 and related major bumps of backfill

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions