Skip to content

Commit

Permalink
chore(examples): use local polyfills (#6076)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhayab authored Feb 27, 2024
1 parent 2974343 commit f258b2e
Show file tree
Hide file tree
Showing 11 changed files with 11,096 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ coverage
.next

# Non-lintable source files
## Polyfills for examples, retrieved from polyfill.io
examples/**/polyfills.js
## React-Native TypeScript wasn't supporting the mix of react 18 and 17
examples/react/react-native
## Excluded from global typescript config
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
packages/*/CHANGELOG.md
examples/**/polyfills.js
2 changes: 1 addition & 1 deletion examples/js/e-commerce-umd/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<link rel="stylesheet" href="./src/app.css" />
<link rel="stylesheet" href="./src/app.mobile.css" />
<link rel="stylesheet" href="./src/widgets/PriceSlider.css" />
<script src="https://polyfill.io/v3/polyfill.min.js?features=default%2CArray.prototype.find%2CArray.prototype.includes%2CPromise%2CObject.assign%2CObject.entries"></script>
<script src="./polyfills.js"></script>
<title>E-commerce demo (UMD) | Algolia</title>
</head>

Expand Down
Loading

0 comments on commit f258b2e

Please sign in to comment.