npm @stencil/core 4.40.0
🍌 4.40.0 (2025-12-23)

11 hours ago

Bug Fixes

  • compiler: minify dist-custom-elements and hydrate-script (#6482) (ec043cd)
  • compiler: resolve node_modules css imports (#6493) (84ac5b8)
  • css: css imports with functions and media queries (#6474) (249f84a)
  • css: enable parsing of native, nested css selectors (#6480) (3506686)
  • css: pseudo-element selectors in nested media queries (#6486) (20ce1ce)
  • css: strip comments before adding css to js (#6487) (2892b4f)
  • css: vanilla css live-reload & added globalStyles to dev <style> (#6488) (34cb672)
  • dist-custom-elements: index / default entry types (#6489) (7b89b5c)
  • runtime: malformed <template> elements (#6492) (8608bd9)
  • runtime: respect slotted element initial 'hidden' property (non-shadow) (#6499) (d3b8b7a)
  • runtime: stop patching non-shadow components without <slot> (#6483) (44fb8de)
  • sourcemaps: generate entry sourcemaps during a dev build (#6476) (e678159)
  • ssr: stop removing slotted whitespace (#6477) (b4c5886)
  • styles: support rendering across documents (#6481) (b73a44b), closes #6479
  • testing: always render shadowrootdelegatesfocus as a boolean (#6490) (8f266de)
  • testing: puppeteer <= 22 executable path (#6478) (ecb279a)
  • types: correctly expand and resolve type | generic<type> (#6495) (d43e29b)

Features

New Contributors

Full Changelog: v4.39.0...v4.40.0

Don't miss a new core release

NewReleases is sending notifications on new releases.