diff --git a/scripts/build_website.sh b/scripts/build_website.sh index 511bdafb..5fba4d31 100755 --- a/scripts/build_website.sh +++ b/scripts/build_website.sh @@ -2,10 +2,11 @@ npm run clean-build rm -rf website -mkdir -p website/fs +mkdir -p website/fs/_plug cp -r packages/web/dist/* website/ cp _redirects website/ cp -r docs/* website/fs/ +cp packages/plugs/dist/* website/fs/_plug/ find website/fs/ -depth -name "*.md" -exec sh -c 'mv "$1" "${1%.md}"' _ {} \; find website/fs/ -depth -name "*.plug.json" -exec sh -c 'mv "$1" "${1%.plug.json}"' _ {} \; node scripts/generate_fs_list.js > website/index.json \ No newline at end of file