Skip to content

Commit 88a6da1

Browse files
clydinBrocco
authored andcommitted
fix(@angular/cli): update minimum version of copy-webpack-plugin
1 parent 38660dd commit 88a6da1

File tree

4 files changed

+55
-33
lines changed

4 files changed

+55
-33
lines changed

Diff for: package-lock.json

+52-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"circular-dependency-plugin": "^4.2.1",
5353
"clean-css": "^4.1.9",
5454
"common-tags": "^1.3.1",
55-
"copy-webpack-plugin": "^4.1.1",
55+
"copy-webpack-plugin": "~4.4.1",
5656
"core-object": "^3.1.0",
5757
"denodeify": "^1.2.1",
5858
"ember-cli-string-utils": "^1.0.0",

Diff for: packages/@angular/cli/models/webpack-configs/common.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,11 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
128128
asset.glob = asset.glob + '/**/*';
129129
}
130130

131-
// Escape the input in case it has special charaters and use to make glob absolute
132-
const escapedInput = asset.input
133-
.replace(/[\\|\*|\?|\!|\(|\)|\[|\]|\{|\}]/g, (substring) => `\\${substring}`);
134-
135131
return {
136132
context: asset.input,
137133
to: asset.output,
138134
from: {
139-
glob: path.resolve(escapedInput, asset.glob),
135+
glob: asset.glob,
140136
dot: true
141137
}
142138
};

Diff for: packages/@angular/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"circular-dependency-plugin": "^4.2.1",
4141
"clean-css": "^4.1.9",
4242
"common-tags": "^1.3.1",
43-
"copy-webpack-plugin": "^4.1.1",
43+
"copy-webpack-plugin": "~4.4.1",
4444
"core-object": "^3.1.0",
4545
"denodeify": "^1.2.1",
4646
"ember-cli-string-utils": "^1.0.0",

0 commit comments

Comments
 (0)