Skip to content

Shrink blazor.*.js file size, SignalR Minification #37260

Open
@TanayParikh

Description

@TanayParikh

@BrennanConroy mentioned:

SignalR mangles properties with the _ prefix so the compiler can reduce property names to single or double characters in the output, but it looks like blazor consumes SignalR from source, or from a non-mangled build. Also, blazor could add the _prefix and convert any private properties to get some savings. You can do that by adding this to the optimization section of webpack.config.js

This issue tracks this effort to ensure we're minifying the SignalR bits. Not sure if we'll be able to take this for 6.0 given the current stage of the release, but will dig into it once I have some time available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Blazor ♥ SignalRThis issue is related to the experience of Signal R and Blazor working togetherPerfPriority:3Work that is nice to haveaffected-allThis issue impacts all the customersarea-blazorIncludes: Blazor, Razor Componentscost: SWill take up to 2 days to completeseverity-nice-to-haveThis label is used by an internal tooltask

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions