File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/angular_devkit/build_angular/src/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {
14
14
resolve ,
15
15
} from '@angular-devkit/core' ;
16
16
import * as path from 'path' ;
17
- import { Configuration , JavascriptModulesPlugin } from 'webpack' ;
17
+ import { Configuration , javascript } from 'webpack' ;
18
18
import { merge as webpackMerge } from 'webpack-merge' ;
19
19
import { Schema as BrowserBuilderSchema } from '../browser/schema' ;
20
20
import {
@@ -112,7 +112,7 @@ export async function generateI18nBrowserWebpackConfigFromContext(
112
112
config . plugins . push ( {
113
113
apply ( compiler ) {
114
114
compiler . hooks . compilation . tap ( 'build-angular' , compilation => {
115
- JavascriptModulesPlugin . getCompilationHooks ( compilation ) . chunkHash . tap (
115
+ javascript . JavascriptModulesPlugin . getCompilationHooks ( compilation ) . chunkHash . tap (
116
116
'build-angular' ,
117
117
( _ , hash ) => {
118
118
hash . update ( '$localize' + i18nHash ) ;
You can’t perform that action at this time.
0 commit comments