Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: storybook's public path #275

Merged
merged 2 commits into from
Feb 12, 2019
Merged

Fix: storybook's public path #275

merged 2 commits into from
Feb 12, 2019

Conversation

patw0929
Copy link
Owner

@patw0929 patw0929 commented Feb 12, 2019

Description

Fixed the public path of storybook's file loader.
When we've deployed storybook build files to github pages, we would found that the flags image were missing.
That's because the storybook's webpack file-loader public path setting is set to '/', and the github page of this repo has its subfolder /react-intl-tel-input/.
It should be relative path './' here.

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have used ESLint & Prettier to follow the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 93.401% when pulling 7ac33fa on fix/deploy-public-path into a0f0f61 on master.

Copy link
Collaborator

@nutboltu nutboltu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for fixing it @patw0929

@patw0929 patw0929 merged commit b01621f into master Feb 12, 2019
@patw0929 patw0929 deleted the fix/deploy-public-path branch February 12, 2019 02:33
patw0929 added a commit that referenced this pull request Feb 14, 2019
Bug fixes:

- #277: Fix(272): Updating Allowdropdown after mount

Docs:

- #273: Feature: Introducing storybook for documentation and playground
- #274: fix(storybook-deploy): Fixed the storybook deployment script in travis
- #275: Fix: storybook's public path
- #276: Refactor: Removing all unused files and codes for example
andrewsantarin pushed a commit to andrewsantarin/react-intl-tel-input that referenced this pull request Feb 2, 2022
andrewsantarin pushed a commit to andrewsantarin/react-intl-tel-input that referenced this pull request Feb 2, 2022
Bug fixes:

- patw0929#277: Fix(272): Updating Allowdropdown after mount

Docs:

- patw0929#273: Feature: Introducing storybook for documentation and playground
- patw0929#274: fix(storybook-deploy): Fixed the storybook deployment script in travis
- patw0929#275: Fix: storybook's public path
- patw0929#276: Refactor: Removing all unused files and codes for example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants