github marko-js/marko @marko/compiler@5.41.2

2 hours ago

Patch Changes

  • #3428 9deacb1 Thanks @DylanPiercey! - Keep sourcemaps for extracted <style> blocks even when the main output map is skipped. The compiler no longer emits a sourcemap for entry outputs (hydrate, or a page/load entry) since the generated wrapper maps back to nothing useful, and the <style> extractor now derives its virtual dependency's sourcemap from the configured sourceMaps option instead of the (now conditionally disabled) Babel output setting. Together this lets a bundler integration enable sourceMaps for entry compiles to preserve CSS sourcemaps without also emitting a meaningless map for the entry wrapper.

Don't miss a new marko release

NewReleases is sending notifications on new releases.