Skip to content

Commit

Permalink
fix: handle undefined this.paragonMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz committed Jul 24, 2023
1 parent 39cc967 commit 782b91c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/paragon-webpack-plugin/ParagonWebpackPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ class ParagonWebpackPlugin {
paragonThemeCss,
brandThemeCss,
fallbackUrls: {
default: this.paragonMetadata.paragon.themeUrls.core.fileName,
brandOverride: this.paragonMetadata.brand.themeUrls.core.fileName,
default: this.paragonMetadata?.paragon.themeUrls.core.fileName,
brandOverride: this.paragonMetadata?.brand.themeUrls.core.fileName,
},
});

Expand Down

0 comments on commit 782b91c

Please sign in to comment.