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.
This commit is contained in:
parent
02f38c5ca8
commit
3892453cd7
4 changed files with 11 additions and 9 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue