diff --git a/src/plugins/consoleJanitor/index.ts b/src/plugins/consoleJanitor/index.ts index 2c29bf67..03c30ede 100644 --- a/src/plugins/consoleJanitor/index.ts +++ b/src/plugins/consoleJanitor/index.ts @@ -66,6 +66,13 @@ export default definePlugin({ }, patches: [ + { + find: "https://github.com/highlightjs/highlight.js/issues/2277", + replacement: { + match: /(?<=&&\()console.log\(`Deprecated.+?`\),/, + replace: "" + } + }, { find: 'react-spring: The "interpolate" function', replacement: {