学习webpack遇到的问题
{ parser: “babylon” } is deprecated; we now treat it as { parser: “babel” }.
错误原因 prettier版本导致的
解决办法
npm install prettier@~1.12.0 --save-dev
成功!
记录下来,巩固记忆
办法来源: https://blog.csdn.net/u011280778/article/details/88107472
{ parser: “babylon“ } is deprecated; we now treat it as { parser: “babel“ }.
最新推荐文章于 2024-07-24 16:02:15 发布