Possibly incorrect use of a constant? #10058
Answered
by
slorber
homotechsual
asked this question in
General
-
In the The reference in const generatedFolder = {
path: path.join(siteDir, GENERATED_FILES_DIR_NAME),
description: 'generated folder',
}; |
Beta Was this translation helpful? Give feedback.
Answered by
slorber
Apr 18, 2024
Replies: 1 comment 1 reply
-
Hmmm yes I can confirm this command does not work: DOCUSAURUS_GENERATED_FILES_DIR_NAME=/Users/sebastienlorber/Desktop/projects/docusaurus/website/.docusaurus yarn clear We should probably use Do you want to send a PR? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
homotechsual
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmmm yes I can confirm this command does not work:
We should probably use
path.resolve
instead ofpath.join
in those cleanup paths (same for build folder)Do you want to send a PR?