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

Allow opting out of ES3SafeFilter. #966

Merged
merged 1 commit into from
Jun 10, 2014

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 10, 2014

We were forced to move the ES3SafeFilter step to only operate on transpiled ES6 output (since it fails on some ES6 module syntax).

Sadly, this means that we are reprocessing the ENTRIE app/ tree for every rebuild. Which is SLOW!!

@@ -55,6 +55,7 @@ function EmberApp(options) {
this.hinting = options.hasOwnProperty('hinting') ? options.hinting : !isProduction;

this.options = defaults(options, {
es3Safe: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

small comment here please:

// for some large projects, you may want to uncomment this (for now)

feel free to wordsmith

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, I'll add to the Brocfile.js with that comment then.

@WMeldon
Copy link
Contributor

WMeldon commented Jun 10, 2014

This should be es6 not safeEs6.

We were forced to move the `ES3SafeFilter` step to only operate on
transpiled ES6 output (since it fails on some ES6 module syntax).

Sadly, this means that we are reprocessing the ENTRIE app/ tree for
every rebuild.  Which is **SLOW**!!
@rwjblue
Copy link
Member Author

rwjblue commented Jun 10, 2014

@WMeldon - Good catch, updated.

@stefanpenner
Copy link
Contributor

LGTM

rwjblue added a commit that referenced this pull request Jun 10, 2014
@rwjblue rwjblue merged commit 4c2511c into ember-cli:master Jun 10, 2014
@rwjblue rwjblue deleted the allow-opting-out-of-es3safe branch June 10, 2014 19:40
@jgwhite jgwhite mentioned this pull request Jun 11, 2014
6 tasks
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

3 participants