File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
packages/angular_devkit/build_optimizer Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ ts_library(
35
35
module_root = "src/index.d.ts" ,
36
36
deps = [
37
37
"@npm//@types/node" ,
38
- "@npm//@types/webpack" ,
39
- "@npm//@types/webpack-sources" ,
40
38
"@npm//source-map" ,
41
39
"@npm//tslib" ,
42
40
"@npm//typescript" ,
Original file line number Diff line number Diff line change 12
12
"loader-utils" : " 2.0.0" ,
13
13
"source-map" : " 0.7.3" ,
14
14
"tslib" : " 2.2.0" ,
15
- "typescript" : " 4.2.4" ,
16
- "webpack-sources" : " 2.2.0"
15
+ "typescript" : " 4.2.4"
17
16
},
18
17
"peerDependencies" : {
19
18
"webpack" : " ^5.30.0"
Original file line number Diff line number Diff line change 6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
8
import { RawSourceMap } from 'source-map' ;
9
- import { SourceMapSource } from 'webpack-sources ' ;
9
+ import { sources } from 'webpack' ;
10
10
const loaderUtils = require ( 'loader-utils' ) ;
11
11
12
12
import { buildOptimizer } from './build-optimizer' ;
@@ -72,7 +72,7 @@ export default function buildOptimizerLoader(
72
72
73
73
if ( previousSourceMap ) {
74
74
// Use http://sokra.github.io/source-map-visualization/ to validate sourcemaps make sense.
75
- newSourceMap = new SourceMapSource (
75
+ newSourceMap = new sources . SourceMapSource (
76
76
newContent ,
77
77
this . resourcePath ,
78
78
intermediateSourceMap ,
You can’t perform that action at this time.
0 commit comments