Actual Behavior:
The URLs declared in index.*.js are not being accessed or loaded correctly by the application.
Steps to Reproduce:
"Deploying the project"
Deploy the "b2b-buyer-portal": yarn build:production
Create a footer script.
Create a header script.
"Replace with the URL where your build is hosted, and with its respective values. Replace the * in the file names with the generated hash from the build step."
Type: Implementation error
Summary: Unable to access URLs declared in my index.*.js when deploying the "b2b-buyer-portal".
Expected Behavior: I expect that the URLs declared in index.*.js (listed below) should be accessible and loaded correctly:
Actual Behavior: The URLs declared in index.*.js are not being accessed or loaded correctly by the application.
Steps to Reproduce:
"Deploying the project" Deploy the "b2b-buyer-portal": yarn build:production Create a footer script. Create a header script. "Replace with the URL where your build is hosted, and with its respective values. Replace the * in the file names with the generated hash from the build step."
line of index.*.js: const vitefileDeps = [ "https://br.storage.bunnycdn.com/assets/react-setup-CAzFZYyQ.js", "https://br.storage.bunnycdn.com/assets/b3Logger-CMQiGC3f.js", "https://br.storage.bunnycdn.com/assets/react-setup-C6kNScU8.css" ];
I have loaded my "dist" manually, since when running yarn build:production it does not save it in my VITE_ASSETS_ABSOLUTE_PATH, maybe that is related?
Screenshots/Screen Recordings: