Skip to content

Commit

Permalink
Fix playroom build by making favicon path relative to webpack config (
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Jan 24, 2024
1 parent 77591d1 commit 88bd204
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/six-spoons-change.md
@@ -0,0 +1,5 @@
---
'playroom': patch
---

Fix `playroom build` by making favicon path relative to webpack config
2 changes: 1 addition & 1 deletion lib/makeWebpackConfig.js
Expand Up @@ -167,7 +167,7 @@ module.exports = async (playroomConfig, options) => {
chunksSortMode: 'none',
chunks: ['index'],
filename: 'index.html',
favicon: 'images/favicon.png',
favicon: path.join(__dirname, '../images/favicon.png'),
base: playroomConfig.baseUrl,
}),
new HtmlWebpackPlugin({
Expand Down

0 comments on commit 88bd204

Please sign in to comment.