vite-plugins icon indicating copy to clipboard operation
vite-plugins copied to clipboard

menorepo下不支持external

Open cixing opened this issue 2 years ago • 2 comments

Uncaught TypeError: Failed to resolve module specifier "react". Relative references must start with either "/", "./", or "../".

cixing avatar May 25 '22 12:05 cixing

image monorepo下,依赖包不在vite.config.js目录,在上级目录,说找不到react的位置

cixing avatar May 25 '22 12:05 cixing

@cixing 你有没有比较简单的demo我试一下

fengxinming avatar Jun 15 '22 14:06 fengxinming