From 18d4458bdb42fddbcc68fc5adca6819f8faa81c8 Mon Sep 17 00:00:00 2001 From: law-chain-hot Date: Tue, 28 Feb 2023 15:02:14 +0800 Subject: [PATCH] ci: add pkgroll with --export-condition=node --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e4d4567b..dbede485 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "bin": "./dist/cli.mjs", "scripts": { "prepare": "simple-git-hooks", - "build": "pkgroll --minify", + "build": "pkgroll --minify --export-condition=node", "lint": "eslint --cache .", "type-check": "tsc", "prepack": "pnpm build"