react-bootstrap-table / react-bootstrap-table2

Next Generation of react-bootstrap-table
https://react-bootstrap-table.github.io/react-bootstrap-table2/
MIT License
1.27k stars 431 forks source link

After upgrading webpack from version 4 to 5 throws arguments is not defined. #1806

Open mametur opened 1 year ago

mametur commented 1 year ago

Describe the bug Node version: 18.16.0, try to upgrade webpack from version 4 to 5.87.0. It hrows to below error.

SearchBar.js:9 Uncaught ReferenceError: arguments is not defined at ./node_modules/react-bootstrap-table2-toolkit/lib/src/search/SearchBar.js (SearchBar.js:9:1) at __webpack_require__ (bootstrap:24:1)

Screenshots Screenshot 2023-06-27 at 14 33 31