Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core - do not mangle on production build #4838

Merged
merged 4 commits into from
Nov 24, 2018
Merged

Core - do not mangle on production build #4838

merged 4 commits into from
Nov 24, 2018

Conversation

igor-dv
Copy link
Member

@igor-dv igor-dv commented Nov 23, 2018

Issue:
#4717
#4759

What I did

So, the "production" mode is adding by default the "terser-webpack-plugin" minimizer that mangles by default, and it breaks the info addon.

We need to turn the mangling off.

@codecov
Copy link

codecov bot commented Nov 23, 2018

Codecov Report

Merging #4838 into next will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##             next    #4838      +/-   ##
==========================================
- Coverage   35.45%   35.45%   -0.01%     
==========================================
  Files         560      560              
  Lines        6845     6846       +1     
  Branches      919      919              
==========================================
  Hits         2427     2427              
- Misses       3934     3935       +1     
  Partials      484      484
Impacted Files Coverage Δ
...b/core/src/server/preview/iframe-webpack.config.js 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 41652b3...a8381d1. Read the comment docs.

@igor-dv igor-dv added patch:yes Bugfix & documentation PR that need to be picked to main branch and removed ci: do not merge labels Nov 24, 2018
Copy link
Member

@kroeder kroeder left a comment

Choose a reason for hiding this comment

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

Looks good

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for fixing this!

@igor-dv igor-dv merged commit b287a99 into next Nov 24, 2018
@igor-dv igor-dv deleted the core/fix-mangle branch November 24, 2018 17:40
shilman pushed a commit that referenced this pull request Nov 26, 2018
Core - do not mangle on production build
shilman pushed a commit that referenced this pull request Nov 26, 2018
Core - do not mangle on production build
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug core patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants