File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
packages/angular_devkit/build_angular Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 117
117
"@types/resolve" : " ^1.17.1" ,
118
118
"@types/rimraf" : " ^3.0.0" ,
119
119
"@types/semver" : " ^7.0.0" ,
120
+ "@types/speed-measure-webpack-plugin" : " ^1.3.0" ,
120
121
"@types/text-table" : " ^0.2.1" ,
121
122
"@types/universal-analytics" : " ^0.4.2" ,
122
123
"@types/uuid" : " ^8.0.0" ,
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ ts_library(
127
127
"@npm//@types/node" ,
128
128
"@npm//@types/rimraf" ,
129
129
"@npm//@types/semver" ,
130
+ "@npm//@types/speed-measure-webpack-plugin" ,
130
131
"@npm//@types/text-table" ,
131
132
"@npm//@types/webpack" ,
132
133
"@npm//@types/webpack-dev-server" ,
Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ import { getEsVersionForFileName } from '../webpack/utils/helpers';
30
30
import { profilingEnabled } from './environment-options' ;
31
31
import { I18nOptions , configureI18nBuild } from './i18n-options' ;
32
32
33
- const SpeedMeasurePlugin = require ( 'speed-measure-webpack-plugin' ) ;
34
-
35
33
export type BrowserWebpackConfigOptions = WebpackConfigOptions < NormalizedBrowserBuilderSchema > ;
36
34
37
35
export async function generateWebpackConfig (
@@ -109,6 +107,7 @@ export async function generateWebpackConfig(
109
107
wco . differentialLoadingMode ,
110
108
) ;
111
109
110
+ const SpeedMeasurePlugin = await import ( 'speed-measure-webpack-plugin' ) ;
112
111
const smp = new SpeedMeasurePlugin ( {
113
112
outputFormat : 'json' ,
114
113
outputTarget : path . resolve (
Original file line number Diff line number Diff line change 1657
1657
resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9"
1658
1658
integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==
1659
1659
1660
+ "@types/speed-measure-webpack-plugin@^1.3.0":
1661
+ version "1.3.0"
1662
+ resolved "https://registry.yarnpkg.com/@types/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.3.0.tgz#406a4ba9c087ecbad01266a3c9b206c7bb99bc24"
1663
+ integrity sha512-p3gUQy1dqcdg67tjrKPjvBBsaSM3y28Za7DcT3sAyztzshGuZd6uKO+TT40JsfJAkyDrdRF2szk/CNjQhOQ0Bg==
1664
+ dependencies:
1665
+ "@types/webpack" "*"
1666
+
1660
1667
"@types/tapable@*":
1661
1668
version "1.0.6"
1662
1669
resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.6.tgz#a9ca4b70a18b270ccb2bc0aaafefd1d486b7ea74"
You can’t perform that action at this time.
0 commit comments