File tree Expand file tree Collapse file tree
packages/ngtools/webpack/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99import type { Compilation , LoaderContext } from 'webpack' ;
1010
11- export const InlineAngularResourceSymbol = Symbol ( ) ;
11+ export const InlineAngularResourceSymbol = Symbol ( '@ngtools/webpack[angular-resource]' ) ;
1212
1313export interface CompilationWithInlineAngularResource extends Compilation {
1414 [ InlineAngularResourceSymbol ] : string ;
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export class AngularWebpackPlugin {
127127
128128 // Set resolver options
129129 const pathsPlugin = new TypeScriptPathsPlugin ( ) ;
130- compiler . hooks . afterResolvers . tap ( 'angular-compiler' , ( compiler ) => {
130+ compiler . hooks . afterResolvers . tap ( PLUGIN_NAME , ( compiler ) => {
131131 // When Ivy is enabled we need to add the fields added by NGCC
132132 // to take precedence over the provided mainFields.
133133 // NGCC adds fields in package.json suffixed with '_ivy_ngcc'
Original file line number Diff line number Diff line change 66 * found in the LICENSE file at https://angular.io/license
77 */
88
9- export const AngularPluginSymbol = Symbol . for ( '@angular-devkit/build-angular [angular-compiler]' ) ;
9+ export const AngularPluginSymbol = Symbol . for ( '@ngtools/webpack [angular-compiler]' ) ;
1010
1111export interface EmitFileResult {
1212 content ?: string ;
You can’t perform that action at this time.
0 commit comments