@angular-builders/custom-webpack 17.0.2-beta.1 → 17.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser/schema.json
CHANGED
|
@@ -279,8 +279,7 @@
|
|
|
279
279
|
},
|
|
280
280
|
"deployUrl": {
|
|
281
281
|
"type": "string",
|
|
282
|
-
"description": "
|
|
283
|
-
"x-deprecated": "Use \"baseHref\" option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url."
|
|
282
|
+
"description": "Customize the base path for the URLs of resources in 'index.html' and component stylesheets. This option is only necessary for specific deployment scenarios, such as with Angular Elements or when utilizing different CDN locations."
|
|
284
283
|
},
|
|
285
284
|
"verbose": {
|
|
286
285
|
"type": "boolean",
|
|
@@ -557,11 +556,11 @@
|
|
|
557
556
|
"properties": {
|
|
558
557
|
"src": {
|
|
559
558
|
"type": "string",
|
|
560
|
-
"pattern": "\\.(([cm]?
|
|
559
|
+
"pattern": "\\.(([cm]?[jt])sx?|json)$"
|
|
561
560
|
},
|
|
562
561
|
"replaceWith": {
|
|
563
562
|
"type": "string",
|
|
564
|
-
"pattern": "\\.(([cm]?
|
|
563
|
+
"pattern": "\\.(([cm]?[jt])sx?|json)$"
|
|
565
564
|
}
|
|
566
565
|
},
|
|
567
566
|
"additionalProperties": false,
|
|
@@ -575,11 +574,11 @@
|
|
|
575
574
|
"properties": {
|
|
576
575
|
"replace": {
|
|
577
576
|
"type": "string",
|
|
578
|
-
"pattern": "\\.(([cm]?
|
|
577
|
+
"pattern": "\\.(([cm]?[jt])sx?|json)$"
|
|
579
578
|
},
|
|
580
579
|
"with": {
|
|
581
580
|
"type": "string",
|
|
582
|
-
"pattern": "\\.(([cm]?
|
|
581
|
+
"pattern": "\\.(([cm]?[jt])sx?|json)$"
|
|
583
582
|
}
|
|
584
583
|
},
|
|
585
584
|
"additionalProperties": false,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"buildTarget": {
|
|
14
14
|
"type": "string",
|
|
15
15
|
"description": "A build builder target to serve in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
|
16
|
-
"pattern": "^[^:\\s]
|
|
16
|
+
"pattern": "^[^:\\s]*:[^:\\s]*(:[^\\s]+)?$"
|
|
17
17
|
},
|
|
18
18
|
"port": {
|
|
19
19
|
"type": "number",
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
},
|
|
70
70
|
"publicHost": {
|
|
71
71
|
"type": "string",
|
|
72
|
-
"description": "The URL that the browser client (or live-reload client, if enabled) should use to connect to the development server. Use for a complex dev server setup, such as one with reverse proxies."
|
|
72
|
+
"description": "The URL that the browser client (or live-reload client, if enabled) should use to connect to the development server. Use for a complex dev server setup, such as one with reverse proxies. This option has no effect when using the 'application' or other esbuild-based builders."
|
|
73
73
|
},
|
|
74
74
|
"allowedHosts": {
|
|
75
75
|
"type": "array",
|
|
76
|
-
"description": "List of hosts that are allowed to access the dev server.",
|
|
76
|
+
"description": "List of hosts that are allowed to access the dev server. This option has no effect when using the 'application' or other esbuild-based builders.",
|
|
77
77
|
"default": [],
|
|
78
78
|
"items": {
|
|
79
79
|
"type": "string"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"disableHostCheck": {
|
|
87
87
|
"type": "boolean",
|
|
88
|
-
"description": "Don't verify connected clients are part of allowed hosts.",
|
|
88
|
+
"description": "Don't verify connected clients are part of allowed hosts. This option has no effect when using the 'application' or other esbuild-based builders.",
|
|
89
89
|
"default": false
|
|
90
90
|
},
|
|
91
91
|
"hmr": {
|
|
@@ -106,6 +106,30 @@
|
|
|
106
106
|
"type": "boolean",
|
|
107
107
|
"description": "Force the development server to use the 'browser-esbuild' builder when building. This is a developer preview option for the esbuild-based build system.",
|
|
108
108
|
"default": false
|
|
109
|
+
},
|
|
110
|
+
"prebundle": {
|
|
111
|
+
"description": "Enable and control the Vite-based development server's prebundling capabilities. To enable prebundling, the Angular CLI cache must also be enabled. This option has no effect when using the 'browser' or other Webpack-based builders.",
|
|
112
|
+
"oneOf": [
|
|
113
|
+
{
|
|
114
|
+
"type": "boolean"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "object",
|
|
118
|
+
"properties": {
|
|
119
|
+
"exclude": {
|
|
120
|
+
"description": "List of package imports that should not be prebundled by the development server. The packages will be bundled into the application code itself.",
|
|
121
|
+
"type": "array",
|
|
122
|
+
"items": {
|
|
123
|
+
"type": "string"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"additionalProperties": false,
|
|
128
|
+
"required": [
|
|
129
|
+
"exclude"
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
]
|
|
109
133
|
}
|
|
110
134
|
},
|
|
111
135
|
"additionalProperties": false,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"buildTarget": {
|
|
14
14
|
"type": "string",
|
|
15
15
|
"description": "A builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
|
16
|
-
"pattern": "^[^:\\s]
|
|
16
|
+
"pattern": "^[^:\\s]*:[^:\\s]*(:[^\\s]+)?$"
|
|
17
17
|
},
|
|
18
18
|
"format": {
|
|
19
19
|
"type": "string",
|
package/dist/server/schema.json
CHANGED
|
@@ -126,8 +126,7 @@
|
|
|
126
126
|
},
|
|
127
127
|
"deployUrl": {
|
|
128
128
|
"type": "string",
|
|
129
|
-
"description": "
|
|
130
|
-
"x-deprecated": "Use \"baseHref\" browser builder option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url."
|
|
129
|
+
"description": "Customize the base path for the URLs of resources in 'index.html' and component stylesheets. This option is only necessary for specific deployment scenarios, such as with Angular Elements or when utilizing different CDN locations."
|
|
131
130
|
},
|
|
132
131
|
"vendorChunk": {
|
|
133
132
|
"type": "boolean",
|
|
@@ -343,11 +342,11 @@
|
|
|
343
342
|
"properties": {
|
|
344
343
|
"src": {
|
|
345
344
|
"type": "string",
|
|
346
|
-
"pattern": "\\.(([cm]?
|
|
345
|
+
"pattern": "\\.(([cm]?[jt])sx?|json)$"
|
|
347
346
|
},
|
|
348
347
|
"replaceWith": {
|
|
349
348
|
"type": "string",
|
|
350
|
-
"pattern": "\\.(([cm]?
|
|
349
|
+
"pattern": "\\.(([cm]?[jt])sx?|json)$"
|
|
351
350
|
}
|
|
352
351
|
},
|
|
353
352
|
"additionalProperties": false,
|
|
@@ -361,11 +360,11 @@
|
|
|
361
360
|
"properties": {
|
|
362
361
|
"replace": {
|
|
363
362
|
"type": "string",
|
|
364
|
-
"pattern": "\\.(([cm]?
|
|
363
|
+
"pattern": "\\.(([cm]?[jt])sx?|json)$"
|
|
365
364
|
},
|
|
366
365
|
"with": {
|
|
367
366
|
"type": "string",
|
|
368
|
-
"pattern": "\\.(([cm]?
|
|
367
|
+
"pattern": "\\.(([cm]?[jt])sx?|json)$"
|
|
369
368
|
}
|
|
370
369
|
},
|
|
371
370
|
"additionalProperties": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-builders/custom-webpack",
|
|
3
|
-
"version": "17.0.2
|
|
3
|
+
"version": "17.0.2",
|
|
4
4
|
"description": "Custom webpack builders for Angular build facade. Allow to modify Angular build configuration without ejecting it",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"builders": "builders.json",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@angular-builders/common": "1.0.2
|
|
43
|
+
"@angular-builders/common": "1.0.2",
|
|
44
44
|
"@angular-devkit/architect": ">=0.1700.0 < 0.1800.0",
|
|
45
45
|
"@angular-devkit/build-angular": "^17.0.0",
|
|
46
46
|
"@angular-devkit/core": "^17.0.0",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"ts-node": "^10.0.0",
|
|
57
57
|
"typescript": "5.4.3"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "0a34585dbcac4b1ee7f0973b5ee384e6453b5a01"
|
|
60
60
|
}
|