Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Add postbuild script for building storybook #259

Merged
merged 1 commit into from
Jul 27, 2020
Merged

Conversation

hyochan
Copy link
Owner

@hyochan hyochan commented Jul 27, 2020

Description

When building a storybook, the iframe.html link is broken since that all starts with absolute path /app.js....

I've added shell script to postbuild script so it will replace the wrong src strings in iframe.html.

The issue was resolved by @s-ong-c.

Related issue

storybookjs/storybook#11694

Checklist

Before you create this PR confirms that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the [CLA].
  • Run yarn test or yarn test -u if you need to update snapshot.
  • Run yarn lint
  • I am willing to follow-up on review comments in a timely manner.

@hyochan hyochan merged commit d6e23fc into master Jul 27, 2020
@hyochan hyochan deleted the bugfix/storybook-build branch July 27, 2020 06:21
@hyochan hyochan added the bugfix label Jul 27, 2020
hyochan pushed a commit that referenced this pull request Aug 12, 2020
Fixed webpack.config.js file so it will correct previous solution and adding postbuild script for building storybook #259 

Current solution (thx to @ndelangen @Marklb) fixed webpack.config.js
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant