Skip to content

fix(vendor): fixed broccoli concat for vendor files #177

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

Merged
merged 1 commit into from
Feb 6, 2016

Conversation

jkuri
Copy link
Contributor

@jkuri jkuri commented Feb 4, 2016

Fixed Broccoli concatenation of vendor files without listing them again.

Also nice solution from @cironunes to easily add vendor files now works properly. Custom vendor files are added at the bottom of vendor.js in th order that we listed them.
Example of adding vendor file in our project

// ember-cli-build.js
vendorNpmFiles: ['moment/moment.js']

var Funnel = require('broccoli-funnel');
var mergeTrees = require('broccoli-merge-trees');
var Project = require('ember-cli/lib//models/project');
var Concat = require('broccoli-concat');
Copy link
Member

Choose a reason for hiding this comment

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

Can you revert this indentation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted.

@cironunes
Copy link
Member

Otherwise lgtm

@cironunes cironunes merged commit f751830 into angular:master Feb 6, 2016
@jkuri jkuri deleted the vendor-files branch February 6, 2016 00:23
@jkuri
Copy link
Contributor Author

jkuri commented Feb 6, 2016

cool. @cironunes maybe you could document how to use vendor files in the readme?

@cironunes
Copy link
Member

We'll need to revert this.

@jkuri
Copy link
Contributor Author

jkuri commented Feb 14, 2016

Okay, no problem

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants