Unverified Commit 3892453c authored by Mileta Dulović's avatar Mileta Dulović Committed by GitHub

Fixed bug where styled-jsx examples don't work because of a wrong plugin (#23414)

## Bug

Fixes #23293. 

Problem was that `styled-jsx-plugin-sass` was used instead of `@styled-jsx/plugin-sass` so it didn't work. 

You can refer to the issue that is linked for more info.
parent 02f38c5c
......@@ -4,7 +4,7 @@
"next/babel",
{
"styled-jsx": {
"plugins": ["styled-jsx-plugin-sass"]
"plugins": ["@styled-jsx/plugin-sass"]
}
}
]
......
......@@ -11,10 +11,8 @@
},
"dependencies": {
"next": "^10.0.0",
"sass": "^1.32.4",
"react": "17.0.1",
"react-dom": "17.0.1",
"styled-jsx-plugin-sass": "^1.0.0"
"react-dom": "17.0.1"
},
"license": "MIT",
"devDependencies": {
......@@ -28,6 +26,8 @@
"@types/react-dom": "^16.9.8",
"babel-loader": "^8.1.0",
"react-is": "^17.0.1",
"typescript": "^4.0.3"
"typescript": "^4.0.3",
"sass": "^1.32.4",
"@styled-jsx/plugin-sass": "^3.0.0"
}
}
......@@ -4,7 +4,7 @@
"next/babel",
{
"styled-jsx": {
"plugins": ["styled-jsx-plugin-sass"]
"plugins": ["@styled-jsx/plugin-sass"]
}
}
]
......
......@@ -8,10 +8,12 @@
},
"dependencies": {
"next": "latest",
"sass": "1.32.4",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"styled-jsx-plugin-sass": "1.0.0"
"react-dom": "^16.7.0"
},
"devDependencies": {
"sass": "^1.32.8",
"@styled-jsx/plugin-sass": "^3.0.0"
},
"license": "MIT"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment