From e8936e84a8b5b22dce69886d0ec657923263cedc Mon Sep 17 00:00:00 2001 From: Mentlegen <9807008+gentlementlegen@users.noreply.github.com> Date: Tue, 15 Oct 2024 20:29:09 +0900 Subject: [PATCH] chore: add minify flag to ncc build command Enhance build process by including the --minify flag in ncc command for better optimization. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 01bedad..cd62227 100644 --- a/action.yml +++ b/action.yml @@ -47,7 +47,7 @@ runs: run: | yarn add -DE @vercel/ncc echo "Compiling plugin..." - yarn ncc build ${{ inputs.pluginEntry }} -m -o dist + yarn ncc build --minify ${{ inputs.pluginEntry }} -m -o dist echo "Compiling plugin types..." yarn ncc build ${{ inputs.schemaPath }} -m -o plugin