Menu
Libraries |
Category

svelte-ts

  • Purpose: Provides TypeScript support for Svelte components, including generation of component declarations and type checking in templates.
  • Key Features:
    • Generates Svelte component declarations
    • Supports TypeScript in template tags
    • Work-in-progress template type checking
    • Planned Sapper integration (marked as TODO)
  • Target Audience: Developers using Svelte with TypeScript who need improved type safety and tooling integration.
  • Bazel Integration:
    • Offers svelte_module rule for compiling TS & Svelte templates together
    • Requires setup of Node/TS in Bazel environment guide ↗
    • Example usage shown in test directory test ↗
  • Other Build Tools: Rollup and Webpack support marked as TODO (not yet implemented)

bazelsveltetypescriptnodejsbazel-rules

Comments