Skip to content

Conversation

@BrennanConroy
Copy link
Member

Fixes #39829

Our webpack configuration handles calling terser so there is no need for an extra build step that manually calls terser. Additionally, added multiple outputs to the webpack config so we can run minify on only the .min.js files.

We might want to consider backporting this to 6.0 since the non-minified file regressed in 6.0 to ship as minified.

@BrennanConroy BrennanConroy added the area-signalr Includes: SignalR clients and servers label Jan 28, 2022
Copy link
Member

@halter73 halter73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there good way to regression test this?

@halter73
Copy link
Member

We might want to consider backporting this to 6.0 since the non-minified file regressed in 6.0 to ship as minified.

I agree we should do this.

@BrennanConroy
Copy link
Member Author

Is there good way to regression test this?

I wrote a test for this, check it out.

@BrennanConroy BrennanConroy enabled auto-merge (squash) January 29, 2022 03:56
@BrennanConroy BrennanConroy merged commit 9a1575d into main Jan 29, 2022
@BrennanConroy BrennanConroy deleted the brecon/npmMin branch January 29, 2022 04:33
@ghost ghost added this to the 7.0-preview1 milestone Jan 29, 2022
@BrennanConroy
Copy link
Member Author

/backport to release/6.0

@github-actions
Copy link
Contributor

Started backporting to release/6.0: https://github.com/dotnet/aspnetcore/actions/runs/1764872876

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-signalr Includes: SignalR clients and servers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review NPM distribution files

3 participants