语言核心
异步与运行时
模块演化史
构建与工具链
浏览器与工程
14-module-resolution-import-maps
14-module-resolution-import-maps/02-scopes/vendor/lib.js
javascript · 0.1 KB
运行:14 · import map scopes
点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。
console
// vendor/lib.js —— 在 vendor/ 前缀下,'util' 被 scopes 覆盖 import { name } from 'util'; export const nameFromVendor = name;
该文件由构建期采集,未做任何改写;源码页不进入搜索引擎索引。