React

Cannot read property 'terser-webpack-plugin' of undefined

쿠카곰돌이 2023. 7. 17. 18:33
반응형



Cannot read property 'terser-webpack-plugin' of undefined

 웹팩 4와 Terser ^5.0.0을 사용하고 계십니다. 이 Terser 버전은 웹 팩 5용이므로 패키지에서 버전 "terser-webpack-plugin": "^4.2.3"을 설정해야 합니다

 

 


package.json에서 terser-webpack-plugin버전을 5점대에서 ^4.2.3 로 바꿈

 

 

 

 

 

https://github.com/JoniRinta-Kahila/blog


 

GitHub - JoniRinta-Kahila/blog: React Blog with Firebase & WYSIWYG text editor

React Blog with Firebase & WYSIWYG text editor. Contribute to JoniRinta-Kahila/blog development by creating an account on GitHub.

github.com

 

 

 

https://github.com/topics/ag-grid-react

 

반응형