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

Adds the style definition to package.json #105

Merged
merged 1 commit into from
Nov 25, 2015
Merged

Conversation

webbushka
Copy link
Contributor

Allows the require in css to be

import 'react-date-picker';

instead of

import 'react-date-picker/lib/style.css';

Allows the require in css to be `import 'react-date-picker';` instead of `import 'react-date-picker/lib/style.css';`
@gpbl
Copy link
Owner

gpbl commented Nov 25, 2015

Oooh very interesting sorcery 😀 Will it ever work in webpack?

gpbl added a commit that referenced this pull request Nov 25, 2015
Adds the style definition to package.json
@gpbl gpbl merged commit 475d14e into gpbl:master Nov 25, 2015
@webbushka
Copy link
Contributor Author

it would be very nice if they add it, but it works great in postcss with the postcss-import plugin. So I'll take it!

@gpbl
Copy link
Owner

gpbl commented Nov 25, 2015

The PR is coming soon in the next npm release! Please some have patience.

@webbushka
Copy link
Contributor Author

👍

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