In most cases, the ES module import
can be used to load CommonJS modules.
If needed, a require
function can be constructed within an ES module using
[module.createRequire()
][].
In most cases, the ES module import
can be used to load CommonJS modules.
If needed, a require
function can be constructed within an ES module using
[module.createRequire()
][].
若有收获,就点个赞吧
0 人点赞
让时间为你证明