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:
Mileta Dulović 2021-04-19 21:37:22 +02:00 committed by GitHub
parent 02f38c5ca8
commit 3892453cd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 9 deletions

View file

@ -4,7 +4,7 @@
"next/babel",
{
"styled-jsx": {
"plugins": ["styled-jsx-plugin-sass"]
"plugins": ["@styled-jsx/plugin-sass"]
}
}
]

View file

@ -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"
}
}

View file

@ -4,7 +4,7 @@
"next/babel",
{
"styled-jsx": {
"plugins": ["styled-jsx-plugin-sass"]
"plugins": ["@styled-jsx/plugin-sass"]
}
}
]

View file

@ -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"
}