Skip to content

Commit

Permalink
fix regex for updated babel(?)
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Nov 5, 2024
1 parent 9d90d8a commit fe152db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/lexical-website/fb/sdoc-cache.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"snippets": {},
"description": "@generated"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function fmt(strings: TemplateStringsArray, ...keys: unknown[]) {
.join('')
.replace(/.use strict.;\n/g, '')
.replace(/var _[^;]+;\n/g, '')
.replace(/function _interopRequireDefault\(obj\) {[^;]+?;[\s\n]*}\n/g, '')
.replace(/function _interopRequireDefault\([^)]*\) {[^;]+?;[\s\n]*}\n/g, '')
.replace(/_formatProdErrorMessage\d+/g, 'formatProdErrorMessage')
.replace(
/\(0,\s*formatProdErrorMessage\.default\)/g,
Expand Down

0 comments on commit fe152db

Please sign in to comment.