Skip to content

Commit

Permalink
Revert "Implement styled-jsx with swc's styled_jsx" (vercel/turbo#366)
Browse files Browse the repository at this point in the history
Revert "Implement styled-jsx with swc's styled_jsx (vercel/turbo#354)"

This reverts commit 255a38b07c98252bfe442ee363f07924da45288a.
  • Loading branch information
wbinnssmith committed Sep 15, 2022
1 parent f4e28a0 commit b6d38cd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ pub async fn create_server_rendered_source(
};
let client_module_options_context = ModuleOptionsContext {
enable_react_refresh,
enable_styled_jsx: true,
}
.cell();
let next_client_transition = NextClientTransition {
Expand Down
1 change: 0 additions & 1 deletion packages/next-swc/crates/next-core/src/web_entry_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ pub async fn create_web_entry_source(
// we try resolve it once at the root and pass down a context to all
// the modules.
enable_react_refresh,
enable_styled_jsx: true,
}
.into(),
)
Expand Down

This file was deleted.

5 changes: 1 addition & 4 deletions packages/next-swc/crates/next-dev/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"private": true,
"devDependencies": {
"expect": "^24.5.0",
"jest-circus-browser": "^1.0.7",
"react": "^18.2.0",
"react-test-renderer": "^18.2.0",
"styled-jsx": "^5.0.7"
"jest-circus-browser": "^1.0.7"
},
"installConfig": {
"hoistingLimits": "workspaces"
Expand Down

0 comments on commit b6d38cd

Please sign in to comment.