fix(ci): add back `viteFinal` for base path
This commit is contained in:
parent
fbbcdf5669
commit
a9546b4a25
|
@ -42,7 +42,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_PAGES: true
|
||||
BASE_PATH: /nimbus-gui
|
||||
needs: cache-dependencies
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
@ -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