Explicitly require mdx loader as an optional peer dependency.
Added rimraf as a dev dependency to enable cross platform removal of the tsconfig.lib.tsbuildinfo file, and thus cross platform builds.
Fix configuration to satisfy the mdx loader's options (specifically, the static folders and site dir).
Adjusted the whitelisting to only include files that are enabled, rather than include both if either changelogs or readmes are enabled.
Removed an unnecessary await in extractSidebar call.
I'm not 100% sure about the siteDir config, but then again, it's required, so something should be put there. Just not sure if copying the global siteDir is correct, or if some context/config/package specific folder is the correct path.
Explicitly require mdx loader as an optional peer dependency.
Added rimraf as a dev dependency to enable cross platform removal of the tsconfig.lib.tsbuildinfo file, and thus cross platform builds.
Fix configuration to satisfy the mdx loader's options (specifically, the static folders and site dir).
Adjusted the whitelisting to only include files that are enabled, rather than include both if either changelogs or readmes are enabled.
Removed an unnecessary await in extractSidebar call.
I'm not 100% sure about the siteDir config, but then again, it's required, so something should be put there. Just not sure if copying the global siteDir is correct, or if some context/config/package specific folder is the correct path.