Closed
Description
- Version: Node v13.8.0
- Platform: Mac OSX
What steps will reproduce the bug?
$ node --version
v13.8.0
$ npm install es-module-lexer@0.3.16
$ 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