diff --git a/packages/remix-edge-adapter/package.json b/packages/remix-edge-adapter/package.json index 629e8212a..8bd539550 100644 --- a/packages/remix-edge-adapter/package.json +++ b/packages/remix-edge-adapter/package.json @@ -40,9 +40,10 @@ ], "scripts": { "prepack": "pnpm run build", - "postinstall": "deno types > deno.d.ts", - "build": "tsup-node src/index.ts src/vite/plugin.ts --format esm,cjs --dts --target node16 --clean", - "build:watch": "pnpm run build --watch" + "build": "pnpm run build:src && pnpm run build:types", + "build:src": "tsup-node src/index.ts src/vite/plugin.ts --format esm,cjs --dts --target node16 --clean", + "build:types": "deno types > deno.d.ts", + "build:watch": "pnpm run build:src --watch" }, "repository": { "type": "git",