Add CLI - generates css and writes to a file#41
Open
opsb wants to merge 3 commits intomdgriffith:masterfrom
Open
Add CLI - generates css and writes to a file#41opsb wants to merge 3 commits intomdgriffith:masterfrom
opsb wants to merge 3 commits intomdgriffith:masterfrom
Conversation
eb48218 to
1f8ff93
Compare
91346e6 to
4684daf
Compare
Contributor
Author
|
Did a little testing with old versions of node. This PR is node 4+ compatible with the exception of the destructuring which is available in node 5 behind a flag and node 6+ by default. I think it's probably worth swapping out the destructuring for broader compatibility. |
Contributor
Author
|
I've swapped in some older style syntax and it now runs against node 4 (tested against node 4.8.4). |
Contributor
Author
|
I've added in the css normalize now, there's a new option called To allow this I needed to add |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a first cut of the cli, with it you can do
A few questions
Any preferences over where to keep the files?
There's a
modeoption which can belayout(default) orviewport. Can you think of a better name for the option?A note of thanks to @rtfeldman for elm-css, from which I shamelessly stole lots of this code :)
EDIT: Added (4)