温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/globals/ImportMeta/require
点击访问原文链接

property require | globals module | Bun

property require | globals module | BunBuildDocsReferenceGuidesBlogDiscord/Globals/ImportMeta/requirePrequire

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Globals/ImportMeta/requirePrequire

property

ImportMeta.requirerequire: Require

Load a CommonJS module within an ES Module. Bun's transpiler rewrites all calls to require with import.meta.require when transpiling ES Modules for the runtime.

Warning: This API is not stable and may change or be removed in the future. Use at your own risk.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

property require | globals module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    Load a CommonJS module within an ES Module. Bun