Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

add sourcemap support for grips.render(..) #11

Open
getify opened this issue Feb 16, 2014 · 0 comments
Open

add sourcemap support for grips.render(..) #11

getify opened this issue Feb 16, 2014 · 0 comments
Assignees

Comments

@getify
Copy link
Owner

getify commented Feb 16, 2014

Not exactly what you're thinking, probably. Adding sourcemap support means that grips.render(..) would be able to accept a sourcemap to map the line/column values reported in any errors back to an original file.

What kind of original file if not the grips template itself? Good question.

grips-css is going to produce standard grips template files from gcss (grips-css) style files. So it'd be very nice if grips.render(..) could map any errors back to the original gcss file instead of the generated grips template file.

Forseeing possible other applications, where tools could auto-produce grips templates from other files, like source HTML files, other templates (aka, template conversion, etc), and the like.


It's a separate but related task to have grips compile (and of course, grips-css compile) produce sourcemaps.

@getify getify self-assigned this Feb 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant