Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit a8a72fe

Browse files
committed
build: Add babel config to prevent transpile errors
1 parent 6e40452 commit a8a72fe

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

package.json

+12
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@
4949
"limit": "10 KB"
5050
}
5151
],
52+
"babel": {
53+
"presets": [
54+
[
55+
"@babel/preset-env",
56+
{
57+
"targets": {
58+
"esmodules": true
59+
}
60+
}
61+
]
62+
]
63+
},
5264
"devDependencies": {
5365
"@size-limit/preset-small-lib": "^6.0.4",
5466
"husky": "^7.0.4",

0 commit comments

Comments
 (0)