mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-21 13:06:58 +02:00
Fix path to docs assets dir (#265)
This commit is contained in:
parent
2d04b3071e
commit
ad87bab09b
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ function execute() {
|
||||||
// copy docs assets if they exist
|
// copy docs assets if they exist
|
||||||
if (fs.existsSync(join(CWD, '..', readMetadata.getDocsPath(), 'assets'))) {
|
if (fs.existsSync(join(CWD, '..', readMetadata.getDocsPath(), 'assets'))) {
|
||||||
fs.copySync(
|
fs.copySync(
|
||||||
join(CWD, readMetadata.getDocsPath(), 'assets'),
|
join(CWD, '..', readMetadata.getDocsPath(), 'assets'),
|
||||||
join(buildDir, 'docs', 'assets')
|
join(buildDir, 'docs', 'assets')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue