Skip to content

Commit d6a3d73

Browse files
committed
fix: stop disabling speedy
1 parent 952ff93 commit d6a3d73

File tree

4 files changed

+4
-40
lines changed

4 files changed

+4
-40
lines changed

packages/css-in-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sanity/css-in-js",
3-
"version": "6.1.18-3",
3+
"version": "6.1.18-4",
44
"description": "A fork of styled-components that supports React 19 streaming ssr without ServerStyleSheet or sheet.collectStyles techniques",
55
"publishConfig": {
66
"access": "public"

packages/css-in-js/src/constants.ts

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,7 @@ export const SPLITTER = '/*!sc*/\n';
1414

1515
export const IS_BROWSER = typeof window !== 'undefined' && typeof document !== 'undefined';
1616

17-
export const DISABLE_SPEEDY = Boolean(
18-
typeof SC_DISABLE_SPEEDY === 'boolean'
19-
? SC_DISABLE_SPEEDY
20-
: typeof process !== 'undefined' &&
21-
typeof process.env !== 'undefined' &&
22-
typeof process.env.REACT_APP_SC_DISABLE_SPEEDY !== 'undefined' &&
23-
process.env.REACT_APP_SC_DISABLE_SPEEDY !== ''
24-
? process.env.REACT_APP_SC_DISABLE_SPEEDY === 'false'
25-
? false
26-
: process.env.REACT_APP_SC_DISABLE_SPEEDY
27-
: typeof process !== 'undefined' &&
28-
typeof process.env !== 'undefined' &&
29-
typeof process.env.SC_DISABLE_SPEEDY !== 'undefined' &&
30-
process.env.SC_DISABLE_SPEEDY !== ''
31-
? process.env.SC_DISABLE_SPEEDY === 'false'
32-
? false
33-
: process.env.SC_DISABLE_SPEEDY
34-
: process.env.NODE_ENV !== 'production'
35-
);
17+
export const DISABLE_SPEEDY = false;
3618

3719
// Shared empty execution context when generating static styles
3820
export const STATIC_EXECUTION_CONTEXT = {};

packages/styled-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sanity/styled-components",
3-
"version": "6.1.18-2",
3+
"version": "6.1.18-3",
44
"description": "CSS for the <Component> Age. Style components your way with speed, strong typing, and flexibility.",
55
"publishConfig": {
66
"access": "public"

packages/styled-components/src/constants.ts

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,7 @@ export const SPLITTER = '/*!sc*/\n';
1414

1515
export const IS_BROWSER = typeof window !== 'undefined' && typeof document !== 'undefined';
1616

17-
export const DISABLE_SPEEDY = Boolean(
18-
typeof SC_DISABLE_SPEEDY === 'boolean'
19-
? SC_DISABLE_SPEEDY
20-
: typeof process !== 'undefined' &&
21-
typeof process.env !== 'undefined' &&
22-
typeof process.env.REACT_APP_SC_DISABLE_SPEEDY !== 'undefined' &&
23-
process.env.REACT_APP_SC_DISABLE_SPEEDY !== ''
24-
? process.env.REACT_APP_SC_DISABLE_SPEEDY === 'false'
25-
? false
26-
: process.env.REACT_APP_SC_DISABLE_SPEEDY
27-
: typeof process !== 'undefined' &&
28-
typeof process.env !== 'undefined' &&
29-
typeof process.env.SC_DISABLE_SPEEDY !== 'undefined' &&
30-
process.env.SC_DISABLE_SPEEDY !== ''
31-
? process.env.SC_DISABLE_SPEEDY === 'false'
32-
? false
33-
: process.env.SC_DISABLE_SPEEDY
34-
: process.env.NODE_ENV !== 'production'
35-
);
17+
export const DISABLE_SPEEDY = false;
3618

3719
// Shared empty execution context when generating static styles
3820
export const STATIC_EXECUTION_CONTEXT = {};

0 commit comments

Comments
 (0)