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 vendor files to be easily configurable. #1187

Merged
merged 1 commit into from
Jul 4, 2014

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 28, 2014

This allows alternate paths to be specified, or completely removed.

For example to exclude jQuery from the generated vendor.js file:

var app = new EmberApp({
  vendorFiles: {
    'jquery.js': null
  }
});

This is a precursor to the new configuration syntax that will could something like app.config('vendorFiles', 'ember.js', <options here>).

Closes #1182.

/cc @kiwiupover

@kiwiupover
Copy link
Contributor

@rjackson this is much better.

@stefanpenner
Copy link
Contributor

lets wait till we have the config object, i am nervous adding new features now that will change shortly.

@rwjblue
Copy link
Member Author

rwjblue commented Jun 28, 2014

@stefanpenner - Generally understood and agreed, but even with the config stuff I think the internal structure will be similar to the vendorFiles property added here.

@stefanpenner
Copy link
Contributor

@rjackson alright :)

@stefanpenner
Copy link
Contributor

no longer merges

This allows alternate paths to be specified, or completely removed.

For example to exclude jQuery from the generated `vendor.js` file:

```javascript
var app = new EmberApp({
  vendorFiles: {
    'jquery.js': null
  }
});
```

This is a precursor to the new configuration syntax that will could
something like `app.config('vendorFiles', 'ember.js', <options here>)`.
@rwjblue
Copy link
Member Author

rwjblue commented Jul 4, 2014

Rebased.

rwjblue added a commit that referenced this pull request Jul 4, 2014
Allow vendor files to be easily configurable.
@rwjblue rwjblue merged commit 5040a2e into ember-cli:master Jul 4, 2014
@rwjblue rwjblue deleted the vendorFiles branch July 4, 2014 02:47
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.

3 participants