Rails Webpack caching
How are you loading the application.js file into your app? What command do you use to run your Rails (and webpack?) server locally?
Found the issue! It was due to my environment file in webpacker causing the assets to not be recompiled.