Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

Disable StyleX runtime injection in core build config (#106)

Cindy Zhang94d11875a1e1
diff --git a/packages/core/tsup.config.ts b/packages/core/tsup.config.ts
index 8d95eb89e8..3deedb1420 100644
--- a/packages/core/tsup.config.ts
+++ b/packages/core/tsup.config.ts
@@ -30,7 +30,7 @@ export default defineConfig({
'@stylexjs/babel-plugin',
{
dev: false,
- runtimeInjection: true,
+ runtimeInjection: false,
genConditionalClasses: true,
treeshakeCompensation: true,
unstable_moduleResolution: {