jd-opensource / jd-opensource/drip-table
esm 模块导出错误,导致vite使用esm引入时,报错
Open
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
chrome report "Dynamic require of is not supported"
**Additional context**
i find the es module export file use the lib/index.js. this file have some code like "require("./styles/index.less");" ,its include a keyword "require"; so if we change the esmodule export dir to /es/index.js. maybe can run normal。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.