From c4ea887319c521dbb34d779f4f23cd030a032cae Mon Sep 17 00:00:00 2001 From: Nadim Kobeissi Date: Wed, 17 May 2023 15:30:58 +0200 Subject: [PATCH] Fix favicon path --- .../examples/plain-html/assets/logo-circle.svg | 13 +++++++++++++ sdk/typescript/examples/plain-html/webpack.base.js | 2 +- .../webpack.base.js | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 sdk/typescript/examples/plain-html/assets/logo-circle.svg diff --git a/sdk/typescript/examples/plain-html/assets/logo-circle.svg b/sdk/typescript/examples/plain-html/assets/logo-circle.svg new file mode 100644 index 0000000000..fdfff58182 --- /dev/null +++ b/sdk/typescript/examples/plain-html/assets/logo-circle.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/sdk/typescript/examples/plain-html/webpack.base.js b/sdk/typescript/examples/plain-html/webpack.base.js index 7725e12bc0..c9656fb20b 100644 --- a/sdk/typescript/examples/plain-html/webpack.base.js +++ b/sdk/typescript/examples/plain-html/webpack.base.js @@ -81,7 +81,7 @@ const webpackCommon = (baseDir, htmlPath) => ({ }), new WebpackFavicons({ - src: path.resolve(__dirname, '../../assets/favicon/favicon.png'), // the asset directory is relative to THIS file + src: path.resolve(__dirname, 'assets/logo-circle.svg'), // the asset directory is relative to THIS file }), new Dotenv(), diff --git a/sdk/typescript/examples/react-webpack-with-theme-example/webpack.base.js b/sdk/typescript/examples/react-webpack-with-theme-example/webpack.base.js index 7725e12bc0..c9656fb20b 100644 --- a/sdk/typescript/examples/react-webpack-with-theme-example/webpack.base.js +++ b/sdk/typescript/examples/react-webpack-with-theme-example/webpack.base.js @@ -81,7 +81,7 @@ const webpackCommon = (baseDir, htmlPath) => ({ }), new WebpackFavicons({ - src: path.resolve(__dirname, '../../assets/favicon/favicon.png'), // the asset directory is relative to THIS file + src: path.resolve(__dirname, 'assets/logo-circle.svg'), // the asset directory is relative to THIS file }), new Dotenv(),