Skip to content

Commit

Permalink
Remove optional chaining #13
Browse files Browse the repository at this point in the history
  • Loading branch information
qrac committed Aug 27, 2021
1 parent 432bee7 commit 3cfdda0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const otherPlugins = mergedWebpackConfig.plugins.filter(
)
const mergedHtmlPlugins = [
...new Map(
htmlPlugins.map((plugin) => [plugin.userOptions?.filename, plugin])
htmlPlugins.map((plugin) => [plugin.userOptions.filename, plugin])
).values(),
]
const mergedPlugins = [...mergedHtmlPlugins, ...otherPlugins]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "minista",
"description": "Mini static site generator that can be written in React (JSX) for web coding",
"version": "0.10.1",
"version": "0.10.2",
"bin": {
"minista": "cli.js"
},
Expand Down

0 comments on commit 3cfdda0

Please sign in to comment.