File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/ngtools/webpack/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
import type { Compilation , LoaderContext } from 'webpack' ;
10
10
11
- export const InlineAngularResourceSymbol = Symbol ( ) ;
11
+ export const InlineAngularResourceSymbol = Symbol ( '@ngtools/webpack[angular-resource]' ) ;
12
12
13
13
export interface CompilationWithInlineAngularResource extends Compilation {
14
14
[ InlineAngularResourceSymbol ] : string ;
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export class AngularWebpackPlugin {
127
127
128
128
// Set resolver options
129
129
const pathsPlugin = new TypeScriptPathsPlugin ( ) ;
130
- compiler . hooks . afterResolvers . tap ( 'angular-compiler' , ( compiler ) => {
130
+ compiler . hooks . afterResolvers . tap ( PLUGIN_NAME , ( compiler ) => {
131
131
// When Ivy is enabled we need to add the fields added by NGCC
132
132
// to take precedence over the provided mainFields.
133
133
// NGCC adds fields in package.json suffixed with '_ivy_ngcc'
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
9
- export const AngularPluginSymbol = Symbol . for ( '@angular-devkit/build-angular [angular-compiler]' ) ;
9
+ export const AngularPluginSymbol = Symbol . for ( '@ngtools/webpack [angular-compiler]' ) ;
10
10
11
11
export interface EmitFileResult {
12
12
content ?: string ;
You can’t perform that action at this time.
0 commit comments