fix(nextjs): deference symlinks when copying public folder to dist (#15862)
This commit is contained in:
parent
7c9b66e24b
commit
884c20009f
@ -74,7 +74,9 @@ export default async function buildExecutor(
|
|||||||
|
|
||||||
createNextConfigFile(options, context);
|
createNextConfigFile(options, context);
|
||||||
|
|
||||||
copySync(join(root, 'public'), join(options.outputPath, 'public'));
|
copySync(join(root, 'public'), join(options.outputPath, 'public'), {
|
||||||
|
dereference: true,
|
||||||
|
});
|
||||||
|
|
||||||
return { success: true };
|
return { success: true };
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user