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

Add ability to transmit outputFileName into getJSON #72

Merged
merged 3 commits into from
Oct 23, 2017

Conversation

lutien
Copy link
Contributor

@lutien lutien commented Oct 19, 2017

In postcss-cli now there is an ability to keep folder structure that's why placement of built files can be a bit unpredictable. But still, it would be nice for some cases to keep json files with built files together. So, here is my proposal to provide output file name into getJSON method to give ability use it in generation paths for json files

@madyankin
Copy link
Owner

@lutien Great suggestion! Could you please update the readme, too?

@lutien
Copy link
Contributor Author

lutien commented Oct 20, 2017

I have added it now in an example of getJSON usage. Will it be enough?

@madyankin
Copy link
Owner

It would be great to add some tests for this. Could you add them please?

@lutien
Copy link
Contributor Author

lutien commented Oct 20, 2017

I have added one test. I can not find some other cases which would be nice to cover. If you know point me, please 😊

@madyankin
Copy link
Owner

@lutien LGTM, thank you!

@madyankin madyankin merged commit 76c1dd5 into madyankin:master Oct 23, 2017
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