autocomplete icon indicating copy to clipboard operation
autocomplete copied to clipboard

fix(module): correct ESM for Node usage

Open Haroenv opened this issue 8 months ago • 3 comments

Summary

resolve extensions and implement package.json#exports

Result

importing should now work as real ESM!

progress:

  • extensions added
  • initial exports key added (not sure if it's correct, CI implies it isn't, astro example implies it is)

Haroenv avatar Oct 25 '23 15:10 Haroenv

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 397183055e5d9efd7a856b21b583131fbe9d593f:

Sandbox Source
@algolia/autocomplete-example-github-repositories-custom-plugin Configuration
@algolia/autocomplete-example-instantsearch Configuration
@algolia/autocomplete-example-playground Configuration
@algolia/autocomplete-example-preview-panel-in-modal Configuration
@algolia/autocomplete-example-react-renderer Configuration
@algolia/autocomplete-example-starter-algolia Configuration
@algolia/autocomplete-example-starter Configuration
@algolia/autocomplete-example-reshape Configuration
@algolia/autocomplete-example-vue Configuration

codesandbox-ci[bot] avatar Oct 25 '23 15:10 codesandbox-ci[bot]

Are we able to get this moved forwards?

garethweaver avatar Dec 04 '23 12:12 garethweaver

Have you confirmed this works for you? You can continue temporary patch this or use patch-package if so, or you can investigate as well and see if a more minimal version does pass our build tests

Haroenv avatar Dec 04 '23 12:12 Haroenv