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
Describe the bug Very cool that we finally have ESM modules!
According to the docs for package.json: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#exports we should specify the module file in the exports key.
package.json
For me Vite is still importing the CommonJS, unless I add this to the package.json:
"exports": { ".": { "import": "./fesm/survey-js-ui.js", "require": "./survey-js-ui.js", "types": "./typings/survey-js-ui/entries/index.d.ts" } },
I notice this is part of the other packages.
The text was updated successfully, but these errors were encountered:
Nvm, fixed in #9583.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Very cool that we finally have ESM modules!
According to the docs for
package.json
: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#exports we should specify the module file in the exports key.For me Vite is still importing the CommonJS, unless I add this to the package.json:
I notice this is part of the other packages.
The text was updated successfully, but these errors were encountered: