also output storybook to vercel
This commit is contained in:
parent
2bbacf23ad
commit
a16f3f63b1
1 changed files with 2 additions and 1 deletions
|
|
@ -92,7 +92,8 @@ exports.getSwAdditionalEntries = () => {
|
|||
}
|
||||
|
||||
exports.moveStorybookFiles = () => {
|
||||
fs.renameSync('storybook-static', 'dist/storybook')
|
||||
fsExtra.moveSync('storybook-static', 'dist/storybook', {overwrite: true,})
|
||||
fsExtra.copySync('dist/storybook', '.vercel/output/static/storybook')
|
||||
}
|
||||
|
||||
const fn = require.main === module && exports[process.argv[2]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue