Editorial question100.5K views3,029 votes0 answers2,776 following
AI-generatedStencilJS 'dist' vs 'dist-custom-elements': Resolving Asset URLs in Subpath Deployments
StencilJS 'dist' vs 'dist-custom-elements': Resolving Asset URLs in Subpath Deployments The goal is to ensure that images, fonts, and CSS referenced by components load correctly when a StencilJS application is deployed to a subpath (e.g., /app/ ) rather than the site root. In development, stencil dev serves components with unminified CSS and absolute URLs, w