typewindDocumentationDocumentation
GitHubGitHub (opens in a new tab)
  • Introduction
  • Installation
  • Usage
    • Normal Usage
    • Modifiers
    • Important Modifier
    • Arbitrary Values
    • Arbitrary Variants
    • Container Queries
  • Transpilers
    • Babel
    • SWC
  • Examples
    • Vite
    • NextJS
  • Advanced
    • Configuration
    • Escape Hatch
    • Custom Config File Path
    • Rem to Px
  • Documentation
    • Introduction
    • Installation
    • Usage
      • Normal Usage
      • Modifiers
      • Important Modifier
      • Arbitrary Values
      • Arbitrary Variants
      • Container Queries
    • Transpilers
      • Babel
        • Babel
      • SWC
    • Examples
      • Vite
      • NextJS
    • Advanced
      • Configuration
      • Escape Hatch
      • Custom Config File Path
      • Rem to Px

On This Page

  • Babel
Question? Give us feedback → (opens in a new tab)Edit this page
Documentation
Transpilers
Babel

Babel

Add the typewind plugin to your .babelrc.

.babelrc
{
  "presets": [],
  "plugins": ["typewind/babel"]
}

Some frameworks like Vite have a different way of editting your babel plugin, so make sure to take a look at their docs first.

Container QueriesSWC

MIT 2023 © Mokshit Jain.
Powered by