diff --git a/freelens/package.json b/freelens/package.json index d0179b145..13e3d2367 100644 --- a/freelens/package.json +++ b/freelens/package.json @@ -24,9 +24,7 @@ "clean": "corepack pnpm dlx rimraf@6.1.2 binaries dist static/build", "clean:node_modules": "corepack pnpm dlx rimraf@6.1.2 node_modules", "build": "webpack --config webpack/webpack.ts --progress", - "postbuild": "corepack pnpm build:resources", "build:dev": "NODE_ENV=development webpack --config webpack/webpack.ts --progress", - "postbuild:dev": "corepack pnpm build:resources", "build:resources": "corepack pnpm \"/^build:resources:/\"", "build:resources:client": "ensure-binaries --package package.json --base-dir binaries/client", "build:resources:license": "generate-license --prod --header license-header.txt --output static/build/license.txt", diff --git a/package.json b/package.json index b7836c6c8..087495c6a 100644 --- a/package.json +++ b/package.json @@ -16,10 +16,12 @@ "biome:fix": "corepack pnpm biome check --fix", "biome:migrate": "corepack pnpm biome migrate --write", "build": "turbo run build --", + "postbuild": "turbo run build:resources --", "build:app": "turbo run build:app --", "build:app:dir": "corepack pnpm build:app dir", "build:core": "cd packages/core && corepack pnpm build", "build:dev": "NODE_ENV=development turbo run build:dev --", + "postbuild:dev": "turbo run build:resources --", "build:freelens": "cd freelens && corepack pnpm build", "build:resources": "turbo run build:resources --", "clean": "corepack pnpm -r clean", diff --git a/turbo.json b/turbo.json index 21d25a532..338b2242f 100644 --- a/turbo.json +++ b/turbo.json @@ -36,7 +36,7 @@ "build:resources": { "dependsOn": ["^build:resources"], "env": ["CC", "CXX", "DOWNLOAD_ALL_ARCHITECTURES", "NODE_ENV"], - "inputs": ["package.json"], + "inputs": ["package.json", "**/logo-lens.svg"], "outputs": ["binaries/**", "static/build/**"] }, "dev": {