文章目录 问题解决方案 问题 解决方案 修改node_modules\@babel\helper-compilation-targets\package.json文件下的exports配置。 { "exports": { ".":"./lib/index.js" }, }