Skip to content

Commit

Permalink
fix(examples): fix example page to work on IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
Grsmto committed Mar 29, 2023
1 parent f4faffc commit 294e78b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/examples/.babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"presets": [["@babel/preset-env", {
"useBuiltIns": "entry",
"corejs": "3.27"
"corejs": "3.27",
"debug": true
}], "@babel/preset-react"],
"plugins": ["transform-class-properties"],
"env": {
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
]
},
"browserslist": [
"defaults"
"ie 11"
]
}
2 changes: 1 addition & 1 deletion packages/examples/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@

<body>
<div id="root"></div>
<script src="./bundle.js"></script>
<script src="../dist/bundle.js"></script>
</body>
</html>

0 comments on commit 294e78b

Please sign in to comment.