Closed transitive-bullshit closed 5 years ago
Possibly just copy over the contents of staticDir if env is production and the user has configured the plugin with a valid staticDir.
staticDir
env
production
staticDir should be of type string | string[] instead of just string
string | string[]
string
Should look very similar to https://github.com/storybooks/storybook/blob/v3.3.9/app/react/src/server/build.js#L61-L70
Possibly just copy over the contents of
staticDir
ifenv
isproduction
and the user has configured the plugin with a validstaticDir
.