Skip to content

Commit a31153b

Browse files
committed
chore: try new angular application builder
1 parent f53763c commit a31153b

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

apps/sandbox/project.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,16 @@
77
"tags": [],
88
"targets": {
99
"build": {
10-
"executor": "@angular-devkit/build-angular:browser",
10+
"executor": "@angular-devkit/build-angular:application",
1111
"outputs": ["{options.outputPath}"],
1212
"options": {
1313
"outputPath": "dist/apps/sandbox",
1414
"index": "apps/sandbox/src/index.html",
15-
"main": "apps/sandbox/src/main.ts",
15+
"browser": "apps/sandbox/src/main.ts",
1616
"polyfills": ["zone.js"],
1717
"tsConfig": "apps/sandbox/tsconfig.app.json",
1818
"assets": ["apps/sandbox/src/favicon.ico", "apps/sandbox/src/assets"],
19-
"styles": ["apps/sandbox/src/styles.css"],
20-
"scripts": []
19+
"styles": ["apps/sandbox/src/styles.css"]
2120
},
2221
"configurations": {
2322
"production": {
@@ -36,12 +35,9 @@
3635
"outputHashing": "all"
3736
},
3837
"development": {
39-
"buildOptimizer": false,
4038
"optimization": false,
41-
"vendorChunk": true,
4239
"extractLicenses": false,
43-
"sourceMap": true,
44-
"namedChunks": true
40+
"sourceMap": true
4541
}
4642
},
4743
"defaultConfiguration": "production"

apps/sandbox/src/app/vaporware/scene.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ declare global {
8080
#material
8181
[map]="textures.grid"
8282
[displacementMap]="textures.displacement"
83+
[displacementScale]="0.5"
8384
[metalnessMap]="textures.metalness"
84-
[displacementScale]="0.4"
85-
[metalness]="0.96"
85+
[metalness]="1"
8686
[roughness]="0.5"
8787
/>
8888

0 commit comments

Comments
 (0)