mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
esm: make extension-less errors in type:module actionable
PR-URL: https://github.com/nodejs/node/pull/42301 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
parent
6f8c983f90
commit
a01302b8df
5 changed files with 35 additions and 13 deletions
|
@ -80,10 +80,10 @@ const DEFAULT_CONDITIONS_SET = new SafeSet(DEFAULT_CONDITIONS);
|
|||
* @typedef {'module' | 'commonjs'} PackageType
|
||||
* @typedef {{
|
||||
* pjsonPath: string,
|
||||
* exports?: ExportConfig;
|
||||
* name?: string;
|
||||
* main?: string;
|
||||
* type?: PackageType;
|
||||
* exports?: ExportConfig,
|
||||
* name?: string,
|
||||
* main?: string,
|
||||
* type?: PackageType,
|
||||
* }} PackageConfig
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue