-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add support for publicPath. #344
Labels
Comments
We don't use this and we don't need this. But for images, you need to do something. Check this: https://storybook.js.org/configurations/serving-static-files#absolute-versus-relative-paths |
Link is broken |
@ccutch thanks, updated that |
This was referenced Nov 5, 2022
This was referenced Dec 25, 2022
This was referenced Dec 25, 2022
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
When deploying to production sites, it's better to provide a public URL. We can use webpack's publicPath field for that.
We can provide a cli argument for this. React Create App looks for the homepage field of the package.json for this.
The text was updated successfully, but these errors were encountered: