Skip to content

Commit ca87115

Browse files
committed
fix(*): returning to browser builder
1 parent 31a4411 commit ca87115

File tree

2 files changed

+27
-25
lines changed

2 files changed

+27
-25
lines changed

angular.Samples.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
<description>This is a package that can be used with Octopus deployer</description>
1111
</metadata>
1212
<files>
13-
<file src="dist\$path$\browser\**\*.*" target="\" />
13+
<file src="dist\$path$\**\*.*" target="\" />
1414
</files>
1515
</package>

angular.json

+26-24
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
"prefix": "app",
1111
"architect": {
1212
"build": {
13-
"builder": "@angular-devkit/build-angular:application",
13+
"builder": "@angular-devkit/build-angular:browser",
1414
"options": {
15-
"outputPath": {
16-
"base": "dist/app"
17-
},
15+
"outputPath": "dist/app",
1816
"index": "src/index.html",
17+
"main": "src/main.ts",
1918
"tsConfig": "src/tsconfig.app.json",
2019
"polyfills": [
2120
"zone.js",
@@ -29,15 +28,16 @@
2928
"src/styles.scss"
3029
],
3130
"scripts": [],
31+
"vendorChunk": true,
3232
"extractLicenses": false,
33+
"buildOptimizer": false,
3334
"optimization": false,
3435
"namedChunks": true,
3536
"sourceMap": true,
3637
"progress": true,
3738
"stylePreprocessorOptions": {
3839
"includePaths": ["node_modules"]
39-
},
40-
"browser": "src/main.ts"
40+
}
4141
},
4242
"configurations": {
4343
"production": {
@@ -51,6 +51,8 @@
5151
"outputHashing": "all",
5252
"namedChunks": false,
5353
"extractLicenses": true,
54+
"vendorChunk": false,
55+
"buildOptimizer": true,
5456
"sourceMap": false,
5557
"fileReplacements": [
5658
{
@@ -123,15 +125,12 @@
123125
"prefix": "app",
124126
"architect": {
125127
"build": {
126-
"builder": "@angular-devkit/build-angular:application",
128+
"builder": "@angular-devkit/build-angular:browser",
127129
"options": {
128-
"outputPath": {
129-
"base": "dist/app-lob"
130-
},
130+
"outputPath": "dist/app-lob",
131131
"index": "projects/app-lob/src/index.html",
132-
"polyfills": [
133-
"projects/app-lob/src/polyfills.ts"
134-
],
132+
"main": "projects/app-lob/src/main.ts",
133+
"polyfills": "projects/app-lob/src/polyfills.ts",
135134
"tsConfig": "projects/app-lob/tsconfig.app.json",
136135
"assets": [
137136
"projects/app-lob/src/favicon.ico",
@@ -141,7 +140,9 @@
141140
"projects/app-lob/src/styles.scss"
142141
],
143142
"scripts": [],
143+
"vendorChunk": true,
144144
"extractLicenses": false,
145+
"buildOptimizer": false,
145146
"sourceMap": {
146147
"scripts": true,
147148
"styles": true,
@@ -154,8 +155,7 @@
154155
"stylePreprocessorOptions": {
155156
"includePaths": ["node_modules"]
156157
},
157-
"preserveSymlinks": true,
158-
"browser": "projects/app-lob/src/main.ts"
158+
"preserveSymlinks": true
159159
},
160160
"configurations": {
161161
"production": {
@@ -170,6 +170,8 @@
170170
"sourceMap": false,
171171
"namedChunks": false,
172172
"extractLicenses": true,
173+
"vendorChunk": false,
174+
"buildOptimizer": true,
173175
"budgets": [
174176
{
175177
"type": "initial",
@@ -247,15 +249,12 @@
247249
"prefix": "app",
248250
"architect": {
249251
"build": {
250-
"builder": "@angular-devkit/build-angular:application",
252+
"builder": "@angular-devkit/build-angular:browser",
251253
"options": {
252-
"outputPath": {
253-
"base": "dist/app-crm"
254-
},
254+
"outputPath": "dist/app-crm",
255255
"index": "projects/app-crm/src/index.html",
256-
"polyfills": [
257-
"projects/app-crm/src/polyfills.ts"
258-
],
256+
"main": "projects/app-crm/src/main.ts",
257+
"polyfills": "projects/app-crm/src/polyfills.ts",
259258
"tsConfig": "projects/app-crm/tsconfig.app.json",
260259
"assets": [
261260
"projects/app-crm/src/favicon.ico",
@@ -265,7 +264,9 @@
265264
"projects/app-crm/src/styles.scss"
266265
],
267266
"scripts": [],
267+
"vendorChunk": true,
268268
"extractLicenses": false,
269+
"buildOptimizer": false,
269270
"sourceMap": {
270271
"scripts": true,
271272
"styles": true,
@@ -277,8 +278,7 @@
277278
"namedChunks": true,
278279
"stylePreprocessorOptions": {
279280
"includePaths": ["node_modules"]
280-
},
281-
"browser": "projects/app-crm/src/main.ts"
281+
}
282282
},
283283
"configurations": {
284284
"production": {
@@ -293,6 +293,8 @@
293293
"sourceMap": false,
294294
"namedChunks": false,
295295
"extractLicenses": true,
296+
"vendorChunk": false,
297+
"buildOptimizer": true,
296298
"budgets": [
297299
{
298300
"type": "initial",

0 commit comments

Comments
 (0)