Currently there is __webpack_require__(...).start is not a function error in the JavaScript console. This error seems to have appeared after a recent upgrade to Rails 7. If I downgrade rails-ujs to 6.x, the error disappears. Additionally, it seems to break some functionallity that uses rails-ujs. This PR fixes the error and adds tests to prevent regression, as there were no existing tests for this functionality.
Context
__webpack_require__(...).start is not a function
error in the JavaScript console. This error seems to have appeared after a recent upgrade to Rails 7. If I downgrade rails-ujs to 6.x, the error disappears. Additionally, it seems to break some functionallity that uses rails-ujs. This PR fixes the error and adds tests to prevent regression, as there were no existing tests for this functionality.Summary of Changes
Checklist
Screenshots
Before
After