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

[BUGFIX release] Properly strip debug statements in prod builds. #11495

Merged
merged 1 commit into from
Jun 18, 2015

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 18, 2015

In #11367 we swapped to using babel for module transpilation, which lead to the transpiled output being slightly different than previously with esperanto.

The long term solution is to use a babel transform to strip, this will have the benefit of not having this particular issue any longer (this is actually the second time we have had this issue). https://github.com/ember-cli/babel-plugin-filter-imports has been created specifically for this purpose, and we have a roadmap to implementing soonish.


This adds the new formats to the list of debug statements for defeatureify.

Fixes #11494.

@rwjblue rwjblue changed the title [BUGFIX beta] Properly strip debug statements in prod builds. [BUGFIX release] Properly strip debug statements in prod builds. Jun 18, 2015
In emberjs#11367 we swapped to using
babel for module transpilation, which lead to the transpiled output
being slightly different than previously with esperanto.

The long term solution is to use a babel transform to strip, this will
have the benefit of not having this particular issue any longer (this is
actually the second time we have had this issue).
https://github.com/ember-cli/babel-plugin-filter-imports has been
created specifically for this purpose, and we have a roadmap to
implementing soonish.

---

This adds the new formats to the list of debug statements for
defeatureify.
rwjblue added a commit that referenced this pull request Jun 18, 2015
[BUGFIX release] Properly strip debug statements in prod builds.
@rwjblue rwjblue merged commit 3254874 into emberjs:master Jun 18, 2015
@rwjblue rwjblue deleted the strip-debug-statements branch June 18, 2015 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant