Skip to content

Commit

Permalink
npm build script: Respect ARGUMENTS (#464)
Browse files Browse the repository at this point in the history
#456 made the prepare-docs step configurable through arguments passed in with the ARGUMENTS env var.
However did the npm build script not respect them, this fixes this.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 authored May 31, 2024
1 parent 27c443d commit 26eddbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "npx vuepress dev",
"prepare-docs": "ruby prepare-docs.rb $ARGUMENTS",
"add-blog-meta": "ruby add-blog-meta.rb",
"build": "ruby prepare-docs.rb && ruby add-blog-meta.rb && vuepress build .",
"build": "npm run prepare-docs && ruby add-blog-meta.rb && vuepress build .",
"build-only": "vuepress build .",
"prebuild-local": "npm run prepare-docs",
"build-local": "npm run dev --silent",
Expand Down

0 comments on commit 26eddbf

Please sign in to comment.