Merge pull request #273796 from szlend/redocly-fix-build-docs
redocly-cli: fix build-docs command
This commit is contained in:
commit
2381cb3eda
@ -21,6 +21,10 @@ buildNpmPackage rec {
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postBuild = ''
|
||||
npm --prefix packages/cli run copy-assets
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
rm $out/lib/node_modules/@redocly/cli/node_modules/@redocly/{cli,openapi-core}
|
||||
cp -R packages/cli $out/lib/node_modules/@redocly/cli/node_modules/@redocly/cli
|
||||
|
Loading…
Reference in New Issue
Block a user