A Heft plugin (v0.2.1) that transpiles Heft TypeScript output using Babel with babel-plugin-styled-components. It runs after the TypeScript compilation phase to inject styled-components display names and other transforms. Currently in early development with no stable release; requires @rushstack/heft ^0.66.3 and styled-components >=5.3.11 as peer dependencies. Differentiates from direct Babel usage by integrating into the Heft build pipeline.
npm install heft-styled-components-pluginVerified import paths — ran on the pinned version, not inferred.
Configures the heft-styled-components-plugin in a Heft project's heft.json to transpile styled-components after TypeScript compilation.
Update @rushstack/heft to ^0.66.3
Install styled-components@^5.3.11
Use JSON config, not import
Consider alternative Babel integration
Run 'npm install heft-styled-components-plugin --save-dev'
Ensure the package is installed and listed in devDependencies
Run 'npm install @rushstack/heft --save-dev'