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

bower.json auto includes css #28

Open
geoidesic opened this issue Feb 25, 2017 · 3 comments
Open

bower.json auto includes css #28

geoidesic opened this issue Feb 25, 2017 · 3 comments
Labels

Comments

@geoidesic
Copy link

This makes it really hard to override the default CSS.
How can one force it to exclude this?

@awerlang
Copy link
Owner

I used bower-installer to copy deps assets to a dist folder. Is that what you're doing? Perhaps bower already features this capability now. Either way you've to override this in the tooling itself. I have long moved away from bower, so that's what I could think of.

@geoidesic
Copy link
Author

I use bower install angular-responsive-tables but the problem is that it includes the default CSS which has a @media breakpoint which doesn't work for us. I can't find a way to override this. Not sure what you mean by "override this in the tooling itself"? What are you using instead of bower?

@awerlang
Copy link
Owner

I used https://github.com/rquadling/bower-installer on top of bower. It takes the package main files and copies them wherever I want. If I don't want the exact set of files from a package, I follow the section "Overriding main files" in bower-installer's readme. Because AFAIK bower helps nothing with that when you don't want to distribute the whole package.

If you're aren't using any tooling and copying files manually instead, then you could just not pick this package .css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants