-
Notifications
You must be signed in to change notification settings - Fork 12k
Not all vendor files are copied #1118
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
Comments
Change: To: change the whatever to meet your needs 😄 |
@RicardoVaranda that give me the same result, still just 1 file copied
|
I have the same problem with |
Have you tried adding two * before the . font-awesome//.** Also what version of cli are you using? I'm on beta 5 and it's working for me just fine |
are you using ng build -prod? because the -prod remove js files that's not provided in polyfills
see Angular2App.js in angular-cli/lib/brocolli/angular2-app.js for the complete list of default polyfills |
Yes, I was using -prod.I have followed the wiki for adding moment.js. (although there were also a couple more js files that were not copied). Adding
However, an additional
|
This issue persist? Because my css files are copied but js files not, using --prod flag. |
I tried to reproduce both scenarios: font-awesome and moment. Just by adding them to the
they were copied. I used the current master, which is the |
the problem is when u add a custom array of polyfills, the -prod remove files not involved in this array. |
@cironunes try to use bootstrap and include jquery and bootstrap.js. Serve with --prod flag and i think you'll see the issue. |
Edited my comment, this has nothing to do with this issue :( |
having same issue. Did anyone able to fix it.
Where as only small subset is created in vendor folder for prod build On the other hand the dev build gets all vendors |
Same problem: Not all vendor files are copied to I have investigated the source a little, and I suspect it’s the call to return BroccoliMergeTrees([nonJsTree, scriptTree, bundleTree], { overwrite: true }); to: return BroccoliMergeTrees([nonJsTree, scriptTree, vendorTree, bundleTree], { overwrite: true }); and it seems to work. Vendor files now get copied, app builds and runs. My understanding of broccoli is minimal, so this is pretty much guesswork at that point. Can somebody confirm, @cironunes? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I installed Font-awesome with NPM and added to the vendor list
In the folder

fonts
are 6 filesbut the system just copy one file

FontAwesome.otf
Is there something wrong with the path or with the font name?
The text was updated successfully, but these errors were encountered: