Turn around for previewMainTemplate Option Ignored, Default Template Used Instead #28301
Unanswered
Shadowrunner11
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The bug is described in #28300
IMPORTANT: I am already working in the solution since it is needed to implement a custom preset for OAuth purposes I am working in too. this turn around temporary since I do not have much time these days, any help is very much appreciated.
What I have done as temporary turn around is to proxy the implementation of path.join like this
And then created a cjs file that invoques storybook cli in other to be used directly with node and not read from node_modules since in my CD workflow using pnpm something breaks
So I change my package.json scripts that are using storybook cli accordingly, notice that I require the hooks file before
If I run the 'pnpm build-storybook' script the final
static-storybook/index.html
now is taking my custom tempalte instead of the default provided by the manager builder of storybookBeta Was this translation helpful? Give feedback.
All reactions