Skip to content

chore(examples): add IE 11 legacy browser support to e-commerce examples#6968

Draft
FabienMotte wants to merge 9 commits intomasterfrom
chore/examples-ie11-support
Draft

chore(examples): add IE 11 legacy browser support to e-commerce examples#6968
FabienMotte wants to merge 9 commits intomasterfrom
chore/examples-ie11-support

Conversation

@FabienMotte
Copy link
Copy Markdown
Contributor

Summary

E2e tests for the JS e-commerce examples are failing due to missing legacy browser support. This adds @vitejs/plugin-legacy with IE 11 targets so the built output includes the necessary polyfills and transpiled bundles.

Changes:

  • Add @vitejs/plugin-legacy and terser to both e-commerce examples
  • Configure the legacy Vite plugin with ['defaults', 'IE 11'] targets
  • Fix trailing slash in --base paths for website:examples scripts
  • Temporarily enable CI e2e workflows on this branch for validation

Result

Both e-commerce examples build with legacy browser bundles included. CI e2e tests run on this branch to validate the fix.

@codacy-production
Copy link
Copy Markdown

codacy-production bot commented Apr 13, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 6 duplication

Metric Results
Complexity 0
Duplication 6

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 13, 2026

More templates

algoliasearch-helper

npm i https://pkg.pr.new/algolia/instantsearch/algoliasearch-helper@6968

instantsearch-ui-components

npm i https://pkg.pr.new/algolia/instantsearch/instantsearch-ui-components@6968

instantsearch.css

npm i https://pkg.pr.new/algolia/instantsearch/instantsearch.css@6968

instantsearch.js

npm i https://pkg.pr.new/algolia/instantsearch/instantsearch.js@6968

react-instantsearch

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch@6968

react-instantsearch-core

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch-core@6968

react-instantsearch-nextjs

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch-nextjs@6968

react-instantsearch-router-nextjs

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch-router-nextjs@6968

vue-instantsearch

npm i https://pkg.pr.new/algolia/instantsearch/vue-instantsearch@6968

commit: bdc00d1

@FabienMotte FabienMotte force-pushed the chore/examples-ie11-support branch from 262decf to 8d73d92 Compare April 13, 2026 11:06
@FabienMotte FabienMotte force-pushed the chore/examples-ie11-support branch from 8d73d92 to c27cc60 Compare April 13, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant