We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When not using own bundler/transpiler, error of is thrown
process.env is in esm build output
import('@docsearch/js').then(({default: docsearch}) => {
Uncaught (in promise) ReferenceError: process is not defined
Live reproduction:
https://codesandbox.io/s/restless-meadow-osexlj?from-embed=&file=/index.html
(til, you can import() from a url)
code works
The text was updated successfully, but these errors were encountered:
I think it might come from https://github.com/algolia/autocomplete/blob/e81c31fbc89ad72229ed84b0318873d442ceb19b/packages/autocomplete-shared/src/warn.ts but I can't really find process.env anywhere
Sorry, something went wrong.
No branches or pull requests
Description
When not using own bundler/transpiler, error of is thrown
Steps to reproduce
import('@docsearch/js').then(({default: docsearch}) => {
Uncaught (in promise) ReferenceError: process is not defined
Live reproduction:
https://codesandbox.io/s/restless-meadow-osexlj?from-embed=&file=/index.html
(til, you can import() from a url)
Expected behavior
code works
Environment
The text was updated successfully, but these errors were encountered: