We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90bd92e commit b2b350aCopy full SHA for b2b350a
scripts/mangleErrors.js
@@ -89,6 +89,11 @@ module.exports = babel => {
89
90
const errorMsgLiteral = evalToString(path.node.argument.arguments[0])
91
92
+ if (errorMsgLiteral.includes('Super expression')) {
93
+ // ignore Babel runtime error message
94
+ return
95
+ }
96
+
97
// Attempt to get the existing index of the error. If it is not found, add it to the array as a new error.
98
let errorIndex = errors.indexOf(errorMsgLiteral)
99
if (errorIndex === -1) {
0 commit comments