Skip to content

Commit

Permalink
Fix webpack asset filename (#2484)
Browse files Browse the repository at this point in the history
Resolves #2483

The webpack [ext] template string already includes a leading . (see https://webpack.js.org/configuration/output/#template-strings).
This PR removes the the extra dot that was added.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
  • Loading branch information
mherwege authored Mar 21, 2024
1 parent 8bb8416 commit 162cc1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bundles/org.openhab.ui/web/build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ module.exports = {
}
},
generator: {
filename: 'images/[name].[ext]'
filename: 'images/[name][ext]'
}
},
{
Expand All @@ -192,7 +192,7 @@ module.exports = {
}
},
generator: {
filename: 'media/[name].[ext]'
filename: 'media/[name][ext]'
}
},
{
Expand All @@ -204,7 +204,7 @@ module.exports = {
}
},
generator: {
filename: 'fonts/[name].[ext]'
filename: 'fonts/[name][ext]'
}
},
{
Expand Down

0 comments on commit 162cc1a

Please sign in to comment.