zaydek / retro-legacy

[WIP] Your friendly neighborhood React static-site generator
MIT License
2 stars 0 forks source link

[Todo] CLI: Add boolean flag for source map #8

Closed zaydek closed 3 years ago

zaydek commented 3 years ago

This actually shouldn’t be too hard. It looks like sourcemaps work automatically so long as you include them. Even though we have some indirection that’s fine because it still calls out to the original page and so on.

zaydek commented 3 years ago

This should be added as as CLI flag option and not necessarily enabled by default. Can follow the Sass convention and do something like ... --no-source-map or --source-map as a boolean flag (should check what esbuild does). I like the boolean flag more.

zaydek commented 3 years ago

Added but not yet implemented.