File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 119
119
"@types/semver" : " ^7.0.0" ,
120
120
"@types/universal-analytics" : " ^0.4.2" ,
121
121
"@types/uuid" : " ^8.0.0" ,
122
- "@types/webpack" : " ^4.32.1 " ,
122
+ "@types/webpack" : " ^4.41.22 " ,
123
123
"@types/webpack-dev-server" : " ^3.1.7" ,
124
124
"@types/webpack-sources" : " ^1.4.2" ,
125
125
"@yarnpkg/lockfile" : " 1.1.0" ,
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import {
24
24
compilation ,
25
25
debug ,
26
26
} from 'webpack' ;
27
- import webpack = require( 'webpack' ) ;
28
27
import { RawSource } from 'webpack-sources' ;
29
28
import { AssetPatternClass } from '../../../browser/schema' ;
30
29
import { BuildBrowserFeatures , maxWorkers } from '../../../utils' ;
@@ -479,9 +478,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
479
478
plugins : [
480
479
PnpWebpackPlugin ,
481
480
] ,
482
- // Cast since roots is currently not in typings
483
- // See: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/47233
484
- } as webpack . Resolve ,
481
+ } ,
485
482
resolveLoader : {
486
483
symlinks : ! buildOptions . preserveSymlinks ,
487
484
modules : [
Original file line number Diff line number Diff line change 1756
1756
"@types/source-list-map" "*"
1757
1757
source-map "^0.6.1"
1758
1758
1759
- "@types/webpack@*", "@types/webpack@^4.32.1 ":
1760
- version "4.41.21 "
1761
- resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.21 .tgz#cc685b332c33f153bb2f5fc1fa3ac8adeb592dee "
1762
- integrity sha512-2j9WVnNrr/8PLAB5csW44xzQSJwS26aOnICsP3pSGCEdsu6KYtfQ6QJsVUKHWRnm1bL7HziJsfh5fHqth87yKA ==
1759
+ "@types/webpack@*", "@types/webpack@^4.41.22 ":
1760
+ version "4.41.22 "
1761
+ resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.22 .tgz#ff9758a17c6bd499e459b91e78539848c32d0731 "
1762
+ integrity sha512-JQDJK6pj8OMV9gWOnN1dcLCyU9Hzs6lux0wBO4lr1+gyEhIBR9U3FMrz12t2GPkg110XAxEAw2WHF6g7nZIbRQ ==
1763
1763
dependencies:
1764
1764
"@types/anymatch" "*"
1765
1765
"@types/node" "*"
You can’t perform that action at this time.
0 commit comments