ConsoleJanitor: Add HLJS deprecations (#3062)
This commit is contained in:
parent
9d3c91e9df
commit
dcfddcbc21
1 changed files with 7 additions and 0 deletions
|
@ -66,6 +66,13 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
|
|
||||||
patches: [
|
patches: [
|
||||||
|
{
|
||||||
|
find: "https://github.com/highlightjs/highlight.js/issues/2277",
|
||||||
|
replacement: {
|
||||||
|
match: /(?<=&&\()console.log\(`Deprecated.+?`\),/,
|
||||||
|
replace: ""
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
find: 'react-spring: The "interpolate" function',
|
find: 'react-spring: The "interpolate" function',
|
||||||
replacement: {
|
replacement: {
|
||||||
|
|
Loading…
Reference in a new issue