v1.9.0: Component decorator support

v1.9.0 adds support for component decorators, enabling you to wrap all components in your library with providers for global styles, CSS-in-JS libraries, or custom functionality.

Global decorators

Configure a global decorators file in your webflow.json to apply decorators across all components:

webflow.json
1{
2 "library": {
3 "globals": "./src/globals.ts"
4 }
5}

The CLI will automatically wrap all components with the decorators exported from your globals file during the build process.

Learn more in the component decorators documentation.