You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package.json file has a field "module" (proposal). When I edit package.json, vscode obviously aware of this field as it shows description for it:
However when I try to import this package from another module, intellisense only uses package.json/main to obtain exports, ignoring field module, which supposed to override main in case of module importing. Usually main points to a bundle (e.g. generated by webpack), which does not export jsdoc the right way.
Please support package.json/module field, so when developer specifies it, intellisense will use that over package.json/main to obtain exported symbols.
The text was updated successfully, but these errors were encountered:
Package.json file has a field "module" (proposal). When I edit package.json, vscode obviously aware of this field as it shows description for it:
![image](https://user-images.githubusercontent.com/7120440/46320659-6e93e380-c5ad-11e8-95ea-928afedc4910.png)
However when I try to import this package from another module, intellisense only uses
package.json/main
to obtain exports, ignoring fieldmodule
, which supposed to overridemain
in case of module importing. Usually main points to a bundle (e.g. generated by webpack), which does not export jsdoc the right way.Please support
package.json/module
field, so when developer specifies it, intellisense will use that overpackage.json/main
to obtain exported symbols.The text was updated successfully, but these errors were encountered: