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 lts] Ensure transpiled builds work when babel helpers are not externalized #18291

Merged
merged 2 commits into from
Aug 22, 2019

Conversation

pzuraq
Copy link
Contributor

@pzuraq pzuraq commented Aug 20, 2019

Helpers were no longer being externalized in our builds, which adds a
significant amount to the final payload. This adds them back into the
build.

Also fixes an issue where the template compiler was not being included
in the vendor folder for Ember.

Helpers were no longer being externalized in our builds, which adds a
significant amount to the final payload. This adds them back into the
build.

Also fixes an issue where the template compiler was not being included
in the vendor folder for Ember.
@rwjblue
Copy link
Member

rwjblue commented Aug 20, 2019

Failures in the browserstack jobs for IE and Safari (didn't look for others):

not ok 5 Safari 12.1 - [undefined ms] - Global error: TypeError: undefined is not a function (near '...(0, _emberBabel.asyncToGenerator)...') at http://127.0.0.1:7774/20353031246/dist/tests/ember-tests.js, line 105794
    ---
        browser log: |
            testContext: [object Object]
            ERROR: TypeError: undefined is not a function (near '...(0, _emberBabel.asyncToGenerator)...') at http://127.0.0.1:7774/20353031246/dist/tests/ember-tests.js, line 105794

@pzuraq
Copy link
Contributor Author

pzuraq commented Aug 20, 2019

Yeah, it’s async/await, need to figure out how to compile it so those don’t go to babel-helpers

@rwjblue rwjblue merged commit aee414c into master Aug 22, 2019
@rwjblue rwjblue added the Bug label Aug 22, 2019
@delete-merged-branch delete-merged-branch bot deleted the bugfix/externalize-helpers branch August 22, 2019 21:14
@rwjblue rwjblue changed the title [BUGFIX lts] Adds the babel-helpers injection plugin back [BUGFIX lts] Ensure transpiled builds work when babel helpers are not externalized Aug 22, 2019
timiyay pushed a commit to timiyay/ember.js that referenced this pull request Nov 27, 2019
Helpers were no longer being externalized in our builds, which adds a
significant amount to the final payload. This adds them back into the
build.

Also fixes an issue where the template compiler was not being included
in the vendor folder for Ember.

ensure async helpers are inlined in dev

Cherry-picked from PR emberjs#18291
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants