Editorial question100.5K views1,026 votes0 answers4,086 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