chore(repo): mark vite as cacheable (#31017)
This PR makes sure that `vite:build-base` is cacheable. It's a long-standing issue because vite is the only package using SWC to build, thus the `targetDefaults` using TSC is not being applied. We don't actually need to specify the executor, as `build-base` using `@nx/next:build` (nx-dev) and `@nx/js:swc` (vite) are both cacheable.
This commit is contained in:
parent
8b3e9f7d5b
commit
e30b5fa7d4
1
nx.json
1
nx.json
@ -97,7 +97,6 @@
|
|||||||
"build-base": {
|
"build-base": {
|
||||||
"dependsOn": ["^build-base", "build-native"],
|
"dependsOn": ["^build-base", "build-native"],
|
||||||
"inputs": ["production", "^production"],
|
"inputs": ["production", "^production"],
|
||||||
"executor": "@nx/js:tsc",
|
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/{projectRoot}",
|
"outputPath": "build/{projectRoot}",
|
||||||
"tsConfig": "{projectRoot}/tsconfig.lib.json",
|
"tsConfig": "{projectRoot}/tsconfig.lib.json",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user