mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: packages: example of private import switch to internal
PR-URL: https://github.com/nodejs/node/pull/61343 Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
346311c42f
commit
61190bf4b4
1 file changed
+1
-1
+1
-1
@@ -616,7 +616,7 @@ import featureY from 'es-module-package/features/y/y.js';
|
||||
// Loads ./node_modules/es-module-package/src/features/y/y.js
|
||||
|
||||
import internalZ from '#internal/z.js';
|
||||
// Loads ./node_modules/es-module-package/src/internal/z.js
|
||||
// Loads ./src/internal/z.js
|
||||
```
|
||||
|
||||
This is a direct static matching and replacement without any special handling
|
||||
|
||||
Reference in new issue
Block a user