Skip to content

Commit 4efa26a

Browse files
xz64vikerman
authored andcommitted
feat(@angular-devkit/build-angular): update license-webpack-plugin
Closes #11536
1 parent 17cde22 commit 4efa26a

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

packages/angular_devkit/build_angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"karma-source-map-support": "1.3.0",
2525
"less": "3.8.1",
2626
"less-loader": "4.1.0",
27-
"license-webpack-plugin": "1.4.0",
27+
"license-webpack-plugin": "2.0.1",
2828
"loader-utils": "1.1.0",
2929
"mini-css-extract-plugin": "0.4.3",
3030
"minimatch": "3.0.4",

packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/browser.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,10 @@ export function getBrowserConfig(wco: WebpackConfigOptions) {
7979

8080
if (buildOptions.extractLicenses) {
8181
extraPlugins.push(new LicenseWebpackPlugin({
82-
pattern: /.*/,
83-
suppressErrors: true,
82+
stats: {
83+
warnings: false,
84+
errors: false
85+
},
8486
perChunkOutput: false,
8587
outputFilename: `3rdpartylicenses.txt`
8688
}));

yarn.lock

+4-8
Original file line numberDiff line numberDiff line change
@@ -2482,10 +2482,6 @@ ee-first@1.1.1:
24822482
version "1.1.1"
24832483
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
24842484

2485-
ejs@^2.5.7:
2486-
version "2.6.1"
2487-
resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.6.1.tgz#498ec0d495655abc6f23cd61868d926464071aa0"
2488-
24892485
electron-to-chromium@^1.3.47, electron-to-chromium@^1.3.62:
24902486
version "1.3.63"
24912487
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.63.tgz#6485f5f4f3375358aa8fa23c2029ada208483b8d"
@@ -4583,11 +4579,11 @@ license-checker@^20.1.0:
45834579
strip-ansi "^4.0.0"
45844580
treeify "^1.1.0"
45854581

4586-
license-webpack-plugin@1.4.0:
4587-
version "1.4.0"
4588-
resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-1.4.0.tgz#be504a849ba7d736f1a6da4b133864f30af885fa"
4582+
license-webpack-plugin@2.0.1:
4583+
version "2.0.1"
4584+
resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-2.0.1.tgz#d8d24d0d0db70d328ec911ae728719b842260078"
45894585
dependencies:
4590-
ejs "^2.5.7"
4586+
webpack-sources "^1.2.0"
45914587

45924588
lie@~3.1.0:
45934589
version "3.1.1"

0 commit comments

Comments
 (0)