Skip to content

Commit

Permalink
Fixed webpack issues with moduleId: module.id (#27)
Browse files Browse the repository at this point in the history
Replaced all instances of moduleId: module.id with moduleId: __filename
  • Loading branch information
leewinder authored Jun 10, 2017
1 parent 299a43d commit ab319f7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion samples/src/app/components/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';

@Component({

moduleId: module.id,
moduleId: __filename,
selector: 'ng2-dynammic-dialog-samples-app',

templateUrl: 'app.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Ng2FileDropAcceptedFile } from 'ng2-file-drop';

@Component({

moduleId: module.id,
moduleId: __filename,
selector: 'disable-styles',

templateUrl: 'disable-styles.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Ng2FileDropAcceptedFile } from 'ng2-file-drop';

@Component({

moduleId: module.id,
moduleId: __filename,
selector: 'image-validation',

templateUrl: 'image-validation.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Ng2FileDropAcceptedFile, Ng2FileDropRejectedFile } from 'ng2-file-drop

@Component({

moduleId: module.id,
moduleId: __filename,
selector: 'size-validation',

templateUrl: 'size-validation.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';

@Component({

moduleId: module.id,
moduleId: __filename,
selector: 'main-page',

templateUrl: 'main-page.component.html',
Expand Down

0 comments on commit ab319f7

Please sign in to comment.