mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
fix tests some more
This commit is contained in:
parent
92f8fc6292
commit
8e95ef7a7f
@ -192,7 +192,7 @@ const builder: BuilderFunction = async function* builderGeneratorFn({ startTime,
|
||||
|
||||
const managerFiles = copy(coreDirOrigin, coreDirTarget);
|
||||
const files = await Promise.all(
|
||||
compilation.outputFiles?.map(async (file) => {
|
||||
compilation?.outputFiles?.map(async (file) => {
|
||||
await ensureFile(file.path).then(() => writeFile(file.path, file.contents));
|
||||
return file.path.replace(addonsDir, './sb-addons');
|
||||
}) || []
|
||||
|
Loading…
x
Reference in New Issue
Block a user