Added Build File Caching (#37459)
Since these files can impact the build, we need to make sure to use them as part of the cache key.
This commit is contained in:
parent
30ea6cfc71
commit
2f4f0bea54
|
@ -53,7 +53,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"turbo:build": "./bin/build.sh && pnpm run clean && pnpm run compile",
|
||||
"prepare": "pnpm run build",
|
||||
"prepack": "pnpm run build",
|
||||
"build": "pnpm -w exec turbo run turbo:build --filter=$npm_package_name",
|
||||
"clean": "rm -rf ./build ./build-module",
|
||||
"compile": "e2e-builds",
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
"build": "pnpm -w exec turbo run turbo:build --filter=$npm_package_name",
|
||||
"clean": "rm -rf ./build ./build-module",
|
||||
"compile": "e2e-builds",
|
||||
"prepare": "pnpm run build",
|
||||
"prepack": "pnpm run build",
|
||||
"docker:up": "./bin/docker-compose.sh up",
|
||||
"docker:wait": "bash ./bin/wait-for-build.sh",
|
||||
"docker:down": "./bin/docker-compose.sh down",
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
"build": "pnpm -w exec turbo run turbo:build --filter=$npm_package_name",
|
||||
"clean": "rm -rf ./build ./build-module",
|
||||
"compile": "e2e-builds",
|
||||
"prepare": "pnpm run build",
|
||||
"prepack": "pnpm run build",
|
||||
"lint": "eslint src --ext=js,ts,tsx",
|
||||
"lint:fix": "eslint src --ext=js,ts,tsx --fix"
|
||||
},
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
"src/**/*.ts",
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.php",
|
||||
"includes/**/*.php"
|
||||
"includes/**/*.php",
|
||||
"webpack.config.js",
|
||||
"tsconfig.json"
|
||||
],
|
||||
"outputs": [
|
||||
"dist/**",
|
||||
|
@ -77,7 +79,9 @@
|
|||
"client/**/*.jsx",
|
||||
"client/**/*.ts",
|
||||
"client/**/*.tsx",
|
||||
"client/**/*.scss"
|
||||
"client/**/*.scss",
|
||||
"webpack.config.js",
|
||||
"tsconfig.json"
|
||||
],
|
||||
"outputMode": "new-only"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue