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

Handle scss and less #3

Open
pocketjoso opened this issue Nov 12, 2014 · 3 comments
Open

Handle scss and less #3

pocketjoso opened this issue Nov 12, 2014 · 3 comments

Comments

@pocketjoso
Copy link
Owner

Right now the tool requires you to pass in straight css. Possibly identify and convert scss and less - as long as that won't blow up the bundle too much in size (as it's already very large -- because of d3(?)).

@pocketjoso pocketjoso changed the title Handle scss and less files Handle scss and less Nov 12, 2014
@matiassingers
Copy link

Would be cool to convert from Sass etc. and preserve the sourcemaps, because then you'd be able to point out the specificity directly in the .scss/.sass file.

I guess converting it to CSS would be the easiest for you since you can use the same parser-logic for both Sass, LESS, Stylus etc.

@pocketjoso
Copy link
Owner Author

Good suggestion!

then you'd be able to point out the specificity directly in the .scss/.sass file.

I presume that you mean by displaying at what line in the source file the selector appeared, am I right? Wouldn't work for minified files, but that would be okay.

@matiassingers
Copy link

@pocketjoso exactly!

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

No branches or pull requests

2 participants