Skip to content

Commit ae40d3c

Browse files
committed
Exclude transform-sticky-regex from babel/env to avoid call stack size exceeded error during build
1 parent dd6402b commit ae40d3c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.babelrc

+10-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010
"transform-xregexp",
1111
"array-includes"
1212
],
13-
"presets": [["@babel/env", {
14-
"exclude": ["transform-literals"]
15-
}]]
13+
"presets": [
14+
[
15+
"@babel/env", {
16+
"exclude": [
17+
"transform-literals",
18+
"transform-sticky-regex"
19+
]
20+
}
21+
]
22+
]
1623
}

0 commit comments

Comments
 (0)