-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Remove import node_modules from videojs.scss #2789
Comments
This is because Bower is not a real package manager. Bower only clones Git repositories and lacks a registry or any support for scripting. Video.js currently does a fair amount of extra work done to support these limitations of Bower. The icons cannot be unignored because they are an external dependency and, therefore, also ignored by Git and should remain that way. They cannot be removed because the UI needs those icons! The solution is either to use npm instead of Bower or - if Bower must be used - reference only the built assets in ... One thought that I have now is should "main": [
"dist/video.js",
"dist/video-js.css"
], Also, maybe it makes sense to ignore |
That seems like a reasonable solution and should solve the problem with the icons not being found. Because as of right now if u tried to use something like rails-assets.org which creates a gem based on bower, you won't be able to use videojs, unless you download those icons and put them alongside the gem. |
This actually looks like a dupe of #2611 |
There seems to be a PR for this already. Maybe get it merged for the next version or something? |
Closing as duplicate of #2611. |
Hi,
Why are these icons being imported yet ignored by bower?
If you try to use something like rails-assets to include this into a rails app it will be unable to find those icons because they are being ignored by bower.json. Either unignore them or remove them please.
Thanks.
The text was updated successfully, but these errors were encountered: