@angular-builders/custom-webpack 12.0.1-beta.0 → 12.1.1
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/README.md
CHANGED
|
@@ -279,7 +279,7 @@ The following properties are available:
|
|
|
279
279
|
- `replaceDuplicatePlugins`: Defaults to `false`. If `true`, the plugins in custom webpack config will replace the corresponding plugins in default Angular CLI webpack configuration. If `false`, the [default behavior](#merging-plugins-configuration) will be applied.
|
|
280
280
|
**Note that if `true`, this option will override `mergeRules` for `plugins` field.**
|
|
281
281
|
|
|
282
|
-
Webpack configuration can be also written in TypeScript. In this case, it is the
|
|
282
|
+
Webpack configuration can be also written in TypeScript. In this case, it is the application's `tsConfig` file which will be use by `tsnode` for `customWebpackConfig.ts` execution. Given the following example:
|
|
283
283
|
|
|
284
284
|
```ts
|
|
285
285
|
// extra-webpack.config.ts
|
|
@@ -422,7 +422,7 @@ module.exports = async config => {
|
|
|
422
422
|
Since Angular 8 `index.html` is not generated as part of the Webpack build. If you want to modify your `index.html` you should use `indexTransform` option.
|
|
423
423
|
`indexTransform` is a path (relative to workspace root) to a `.js` or `.ts` file that exports transformation function for `index.html`.
|
|
424
424
|
Function signature is as following:
|
|
425
|
-
If `indexTransform` is
|
|
425
|
+
If `indexTransform` is written in TypeScript, it is the application's `tsConfig` file which will be use by `tsnode` for `indexTransform.ts` execution.
|
|
426
426
|
|
|
427
427
|
```typescript
|
|
428
428
|
(options: TargetOptions, indexHtmlContent: string) => string|Promise<string>;
|
package/dist/browser/schema.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"type": "object",
|
|
57
57
|
"properties": {
|
|
58
58
|
"includePaths": {
|
|
59
|
-
"description": "Paths to include. Paths will be resolved to
|
|
59
|
+
"description": "Paths to include. Paths will be resolved to workspace root.",
|
|
60
60
|
"type": "array",
|
|
61
61
|
"items": {
|
|
62
62
|
"type": "string"
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"properties": {
|
|
114
114
|
"inline": {
|
|
115
115
|
"type": "boolean",
|
|
116
|
-
"description": "Reduce render blocking requests by inlining external Google
|
|
116
|
+
"description": "Reduce render blocking requests by inlining external Google Fonts and Adobe Fonts CSS definitions in the application's HTML index file. This option requires internet access. `HTTPS_PROXY` environment variable can be used to specify a proxy server.",
|
|
117
117
|
"default": true
|
|
118
118
|
}
|
|
119
119
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic-browser-builder.js","sourceRoot":"","sources":["../src/generic-browser-builder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAImC;AAGnC,+BAA4B;AAC5B,8CAA2C;AAG3C,+DAAsD;AAgB/C,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"generic-browser-builder.js","sourceRoot":"","sources":["../src/generic-browser-builder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAImC;AAGnC,+BAA4B;AAC5B,8CAA2C;AAG3C,+DAAsD;AAgB/C,MAAM,0BAA0B,GACrC,CACE,eAAmC,EACd,EAAE,CACzB,CAAC,OAAU,EAAE,OAAuB,EAAsC,EAAE;IAC1E,SAAe,KAAK;;YAClB,MAAM,aAAa,GAAG,kCAAsB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;YACpE,OAAO,OAAO,CAAC,gBAAgB,CAAC,aAAa,CAAmC,CAAC;QACnF,CAAC;KAAA;IAED,OAAO,WAAI,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,CACvB,qBAAS,CAAC,oBAAoB,CAAC,EAAE,CAC/B,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,mCAAa,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC,CAChF,CACF,CAAC;AACJ,CAAC,CAAC;AAfS,QAAA,0BAA0B,8BAenC"}
|
package/dist/karma/schema.json
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"type": "object",
|
|
61
61
|
"properties": {
|
|
62
62
|
"includePaths": {
|
|
63
|
-
"description": "Paths to include. Paths will be resolved to
|
|
63
|
+
"description": "Paths to include. Paths will be resolved to workspace root.",
|
|
64
64
|
"type": "array",
|
|
65
65
|
"items": {
|
|
66
66
|
"type": "string"
|
package/dist/server/schema.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "object",
|
|
30
30
|
"properties": {
|
|
31
31
|
"includePaths": {
|
|
32
|
-
"description": "Paths to include. Paths will be resolved to
|
|
32
|
+
"description": "Paths to include. Paths will be resolved to workspace root.",
|
|
33
33
|
"type": "array",
|
|
34
34
|
"items": {
|
|
35
35
|
"type": "string"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-factories.js","sourceRoot":"","sources":["../src/transform-factories.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,+CAAgE;AAEhE,qEAAgE;AAEhE,mCAAyC;AAElC,MAAM,mCAAmC,
|
|
1
|
+
{"version":3,"file":"transform-factories.js","sourceRoot":"","sources":["../src/transform-factories.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,+CAAgE;AAEhE,qEAAgE;AAEhE,mCAAyC;AAElC,MAAM,mCAAmC,GAI9C,CAAC,OAAO,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,EAAE,CACvC,oBAAoB,CAAC,EAAE;IACrB,OAAO,6CAAoB,CAAC,kBAAkB,CAC5C,gBAAS,CAAC,aAAa,CAAC,EACxB,OAAO,CAAC,mBAAmB,EAC3B,oBAAoB,EACpB,OAAO,EACP,MAAM,CACP,CAAC;AACJ,CAAC,CAAC;AAbS,QAAA,mCAAmC,uCAa5C;AAEG,MAAM,yBAAyB,GAGZ,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,EAAE;IACpF,IAAI,CAAC,cAAc;QAAE,OAAO,IAAI,CAAC;IACjC,sBAAc,CAAC,cAAc,EAAE,GAAG,oBAAa,CAAC,gBAAS,CAAC,aAAa,CAAC,CAAC,IAAI,QAAQ,EAAE,CAAC,CAAC;IACzF,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,oBAAa,CAAC,gBAAS,CAAC,aAAa,CAAC,CAAC,IAAI,cAAc,EAAE,CAAC,CAAC;IAC5F,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,WAAW,CAAC;IACrD,OAAO,CAAO,SAAiB,EAAE,EAAE,kDAAC,OAAA,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA,GAAA,CAAC;AACnE,CAAC,CAAC;AATW,QAAA,yBAAyB,6BASpC;AAEK,MAAM,aAAa,GAAG,CAAC,OAA4B,EAAE,OAAuB,EAAE,EAAE,CAAC,CAAC;IACvF,oBAAoB,EAAE,2CAAmC,CAAC,OAAO,EAAE,OAAO,CAAC;IAC3E,SAAS,EAAE,iCAAyB,CAAC,OAAO,EAAE,OAAO,CAAC;CACvD,CAAC,CAAC;AAHU,QAAA,aAAa,iBAGvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-builders/custom-webpack",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.1.1",
|
|
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": [
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"tsconfig-paths": "^3.9.0",
|
|
46
46
|
"webpack-merge": "^5.7.3"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "62b2496202a69611c357218941e84ce1da4b4c36"
|
|
49
49
|
}
|