Skip to content

Commit 1522d4b

Browse files
committed
Disable Stylex CSS Layers
1 parent f5b689e commit 1522d4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function decoratorPreset(options: Record<string, unknown>) {
3030

3131
export const VITE_PLUGINS: PluginOption[] = [
3232
stylex.vite({
33-
useCSSLayers: true,
33+
useCSSLayers: false, // Ideally true, but this creates issues with global styles
3434
propertyValidationMode: 'throw',
3535
// Stylex is not well integrated in the Vite CSS pipeline
3636
// https://github.com/facebook/stylex/issues/1378

0 commit comments

Comments
 (0)