fix(ci): add `viteFinal` step to set proper asset path
This commit is contained in:
parent
ae9253ed98
commit
b9beb27b86
|
@ -16,6 +16,14 @@ const config: StorybookConfig = {
|
|||
docs: {
|
||||
autodocs: 'tag',
|
||||
},
|
||||
|
||||
async viteFinal(config, { configType }) {
|
||||
if (configType === 'PRODUCTION') {
|
||||
config.base = './'
|
||||
}
|
||||
|
||||
return config
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
|
|
Loading…
Reference in New Issue