-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
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
Consider using ECMAScript Modules #1437
Comments
the NPM package does contain ECMAScript Modules files
But these files are not referenced in the
To fix this issue, an If you need a fix right now, just import the ESM files directly in your app (side effect: Typescript won't be able to type the default export) |
|
An easy fix for the missing TS definition is to create this
PS: In order to create a PR, I had a look at the scripts/build.js and rollup.config.js files in this repo but there are simply too many packages generated. It will be safer if a regular maintainer had a look at it PS2: The name of the |
Could you consider using ECMAScript Modules ?
Warning is raised when compiling app with
angular-instantsearch
From angular documentation :
The text was updated successfully, but these errors were encountered: