Skip to content

Build source maps on production build again - #21832

Merged
MorrisJobke merged 2 commits into
masterfrom
bugfix/noid/source-maps-prod
Jul 14, 2020
Merged

Build source maps on production build again#21832
MorrisJobke merged 2 commits into
masterfrom
bugfix/noid/source-maps-prod

Conversation

@juliusknorr

Copy link
Copy Markdown
Member

Regresion from #21725 since we provide a custom TerserPlugin instance now it takes the defaults from https://github.com/webpack-contrib/terser-webpack-plugin#sourcemap now, which is why source maps were currently not built when running npm run build.

This should cause the CI to complain about outdated bundles. I'll compile once that happened ;)

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr

Copy link
Copy Markdown
MemberAuthor

/compile /

@juliusknorr

Copy link
Copy Markdown
MemberAuthor

/backport 506f178 to stable19

Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
@MorrisJobkeMorrisJobke added this to the Nextcloud 20 milestone Jul 14, 2020

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this sets a new record on the ratio of source line changes vs bundle changes

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

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@juliusknorr@MorrisJobke@ChristophWurst