Files in build directory no longer working as expected

I actually just figured it out. I had my src/index.js waiting until the dom content loaded event fired. It had been working on previous versions, but for some reason the update that happened since I first built it no longer likes it. I had to remove the event listener on the window object. This got it to work as needed.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)