-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.questionIssues that look for answers.Issues that look for answers.
Description
- Version: Node v13.8.0
- Platform: Mac OSX
What steps will reproduce the bug?
$ node --version
v13.8.0
$ npm install [email protected]
$ node -e "require('es-module-lexer')"
(node:75146) ExperimentalWarning: Conditional exports is an experimental feature. This feature could change at any time
How often does it reproduce? Is there a required condition?
Always on latest Node v13
What is the expected behavior?
I wouldn't expect to see any warning whatsoever.
Additional information
https://nodejs.org/api/esm.html#esm_conditional_exports
This documentation exists without any sort of experimental warning. It is not hidden behind any flag.
More confusing to users, It is a warning that is exposed by the libraries that they consume. So the user can update their dependencies (or add new ones) and start to get this warning without understanding why.
For Snowpack, we want to use this package that uses conditional exports, but are now worried about this warning message confusing our users.
/cc @guybedford
transitive-bullshit, SupernaviX, honsa, gz65555 and xinthose
Metadata
Metadata
Assignees
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.questionIssues that look for answers.Issues that look for answers.