Skip to content

Commit

Permalink
Fix webpack5 IgnorePlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed May 14, 2021
1 parent c8fecf0 commit e6b3c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/docs/src/frameworks/angular/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function makeAngularElementRendererOptional(): Plugin[] {
) {
return [];
}
return [new IgnorePlugin(/@storybook(\\|\/)angular(\\|\/)element-renderer/)];
return [new IgnorePlugin({ resourceRegExp: /@storybook(\\|\/)angular(\\|\/)element-renderer/ })];
}

function moduleIsAvailable(moduleName: string): boolean {
Expand Down

0 comments on commit e6b3c96

Please sign in to comment.