This repository was archived by the owner on Sep 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Source maps from jade file and to web.server/app.js file #209
Copy link
Copy link
Open
Description
I am not sure whether:
- this project is still alive or not, and
- if the package works as I suppose it does, i.e., by first generating a spacebar file and then reusing Blaze's spacebar to JS generator.
But if the answer to both those interrogations are positive, then it would be awesome to:
- write the intermediate spacebar file somewhere into the .meteor folder
- generate a jade2spacebar.map source map file tracing the correspondence between the source jade file lines to the intermediate spacebar file lines
- generate a spacebar2js.map source map file tracing the correspondence between the intermediate spacebar file lines to the web.browser/app.js file served to the browser (though that should probably belong as a feature request on the blazejs project rather than here)
- reusing the two other maps above to generate a jade2js.map source map tracing the correspondence between the source jade file and the web.browser/app.js file served to the browser.
This would allow one to write extensions for IDEs such as WebStorm and VSCode allowing to put breakpoints in jade templates, which would greatly speed-up debugging of jade-meteor apps with beyond toyish trivial UI components.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels