Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hasnum-stack opened this issue Jun 6, 2024 · 0 comments

Comments

@hasnum-stack
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant