What happens when we publish a Storybook bundle to DSM?
- 10 Jan 2023
- 1 Minute to read
- DarkLight
What happens when we publish a Storybook bundle to DSM?
- Updated on 10 Jan 2023
- 1 Minute to read
- DarkLight
Article Summary
In the Storybook webpack build, all resources (javascript, CSS, images, etc.) are relative to the root of the website: /
Rather than hosting the uploaded storybook in a classic webserver, the DSM Storybook integration uploads bundle files to the assets-api
, replacing all asset URLs in the bundle so they point to /dsm-api/storybook/asset-proxy/
.
Was this article helpful?