-
Notifications
You must be signed in to change notification settings - Fork 5
/
nx.json
49 lines (49 loc) · 1.11 KB
/
nx.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"namedInputs": {
"source": [
"{projectRoot}/index.ts",
"{projectRoot}/src/**/*.ts",
"!{projectRoot}/node_modules/**"
],
"default": ["source"],
"build": ["default"],
"production": ["default"]
},
"configurations": {
"compile": {}
},
"workspaceLayout": {
"appsDir": "src",
"libsDir": "packages"
},
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build"]
}
}
},
"pluginsConfig": {
"@nrwl/js": {
"analyzeSourceFiles": false,
"analyzePackageJson": true
}
},
"targetDefaults": {
"build": {
"executor": "@nrwl/js:swc",
"outputs": ["{options.outputPath}"],
"options": {
"clean": true,
"swcrc": "packages/.swcrc",
"outputPath": "{projectRoot}/dist",
"tsConfig": "{workspaceRoot}/tsconfig.base.json",
"main": "{projectRoot}/index.ts",
"skipTypeCheck": true
},
"inputs": ["production", "^production"]
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json"
}