father icon indicating copy to clipboard operation
father copied to clipboard

bug: esm模式打包后,node项目使用,本地模块因为没有.js后缀导致报错

Open hasnum-stack opened this issue 8 months ago • 0 comments

Version

4

OS Version

macOS

Node.js Version

16

Link to minimal reproduction

Steps to reproduce

cjs模式后,node项目引入

What is expected?

添加.js后缀

What is actually happening?

引入报错

Any additional comments? (optional)

No response

hasnum-stack avatar Jun 06 '24 07:06 hasnum-stack