tessl install tessl/npm-stencil--core@4.36.0A comprehensive web component compiler that transforms TypeScript and JSX code into standards-compliant web components with complete development toolchain.
Agent Success
Agent success rate when using this tile
75%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.44x
Baseline
Agent success rate without this tile
52%
Create a Stencil configuration that enables HTTPS for the development server with support for custom SSL certificates. The configuration should allow developers to provide their own certificate files or automatically use self-signed certificates.
Create a stencil.config.ts configuration file that:
CERT_PATH environment variable (when set)KEY_PATH environment variable (when set)www output directoryCreate a stencil.config.test.ts test file that validates:
Input: Configuration with HTTPS enabled
Expected Output: The devServer configuration should have https property set to true or to an object with certificate configuration
Input: Environment variables CERT_PATH=/path/to/cert.pem and KEY_PATH=/path/to/key.pem
Expected Output: The devServer configuration should include these paths in its HTTPS configuration
Input: No certificate environment variables set
Expected Output: The configuration should still be valid and enable HTTPS (for self-signed certificate generation)
Provides the web component compiler and development toolchain including the development server with HTTPS support.