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

Split up vendor and appliation code. #949

Merged
merged 1 commit into from
Jun 9, 2014

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 9, 2014

Generate an /assets/vendor.js in addition to /assets/my-package.js.

Also, ensures that ES3SafeFilter is only ran on application code AFTER transpiling.

Fixes #947.

@rwjblue
Copy link
Member Author

rwjblue commented Jun 9, 2014

Just to clarify, this fixes #947 by only processing ES3SafeFilter on the application code after it has been transpiled, and the need to split the vendor and app code came from moving the ES3SafeFilter to the end. If we attempt to process the entire concatted app.js (which contains Ember, jQuery, etc) the ES3SafeFilter takes forever since it has to parse everything.

@brandonparsons
Copy link

Can I hack this in to 0.0.32 in order to fix my comment on 947?

@rwjblue
Copy link
Member Author

rwjblue commented Jun 9, 2014

@brandonparsons - No, I don't think that is a good idea (to modify in your node_modules/ folder), but you should be able to test my branch (or cherry-pick the commit into a test branch) and use npm link as described in the README.

@stefanpenner
Copy link
Contributor

Needs rebase.

I'm going to try and release before work

Generate an `/assets/vendor.js` in addition to `/assets/my-package.js`.

Also, ensures that ES3SafeFilter is only ran on application code AFTER transpiling.
rwjblue added a commit that referenced this pull request Jun 9, 2014
Split up vendor and appliation code.
@rwjblue rwjblue merged commit 29895bd into ember-cli:master Jun 9, 2014
@rwjblue rwjblue deleted the split-vendor-and-app branch June 9, 2014 13:17
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.

Initializers causing build error on v0.0.32
3 participants