drip-table icon indicating copy to clipboard operation
drip-table copied to clipboard

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

Open pk111and222 opened this issue 1 year ago • 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。

pk111and222 avatar Nov 28 '23 13:11 pk111and222