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

Support "main" for compatibility with Bower #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ariofrio
Copy link

Packages such as purecss work with Bower by setting the "main" field in package.json to the CSS file. This change makes such packages work with rework-npm out of the box.

@conradz
Copy link
Contributor

conradz commented Apr 23, 2015

Would it make sense to only use main if it is a .css file?

Also this is a breaking change since it used to find index.css if no style field was specified, now it will also check the main field.

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.

2 participants