When running yarn build:production
, my vendor.js file is not being created and then causing a 404. but on yarn:build
it is displayed fine. I tried removing the dependency and enqueue in my setup.php but then it breaks a lot of working components JS.
The github issue https://github.com/roots/sage/issues/2513 doesn’t help much since I am not intentionally trying to remove it. It just seems to happen.
How can I get vendor.js to work on production build?