You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running npm run build the index.html is compiled with prefixed / for the asset links. node_modules/react-scripts/config/webpack.config.prod.js shows me, that the / is currently hardcoded, but when I read the create-react-app source files (config/webpack.config.prod.js) the prefix is built dynamically. So where does the "hard" prefix come from and how to use the homepage property in my local package.json?
The text was updated successfully, but these errors were encountered:
When running
npm run build
the index.html is compiled with prefixed/
for the asset links.node_modules/react-scripts/config/webpack.config.prod.js
shows me, that the/
is currently hardcoded, but when I read the create-react-app source files (config/webpack.config.prod.js
) the prefix is built dynamically. So where does the "hard" prefix come from and how to use thehomepage
property in my local package.json?The text was updated successfully, but these errors were encountered: