jd-opensource/drip-table

esm 模块导出错误,导致vite使用esm引入时,报错

Opened this issue · 0 comments

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。