diff --git a/src/core/server/core_app/assets/favicons/favicon.distribution.ico b/src/core/server/core_app/assets/favicons/favicon.distribution.ico new file mode 100644 index 0000000000000..b466b3b4f4eb3 Binary files /dev/null and b/src/core/server/core_app/assets/favicons/favicon.distribution.ico differ diff --git a/src/core/server/core_app/assets/favicons/favicon.ico b/src/core/server/core_app/assets/favicons/favicon.ico new file mode 100644 index 0000000000000..7ac743a2d1fe4 Binary files /dev/null and b/src/core/server/core_app/assets/favicons/favicon.ico differ diff --git a/src/dev/build/tasks/copy_source_task.ts b/src/dev/build/tasks/copy_source_task.ts index 9fc0827e8c2c6..a970ae0e456eb 100644 --- a/src/dev/build/tasks/copy_source_task.ts +++ b/src/dev/build/tasks/copy_source_task.ts @@ -23,6 +23,7 @@ export const CopySource: Task = { '!src/**/*.{test,test.mocks,mock}.{js,ts,tsx}', '!src/**/mocks.ts', // special file who imports .mock files '!src/**/{target,tests,__jest__,test_data,__tests__,__snapshots__,__mocks__,integration_tests,__fixtures__}/**', + '!src/core/server/core_app/assets/favicons/favicon.distribution.ico', '!src/core/server/core_app/assets/favicons/favicon.distribution.png', '!src/core/server/core_app/assets/favicons/favicon.distribution.svg', '!src/test_utils/**', diff --git a/src/dev/build/tasks/replace_favicon.ts b/src/dev/build/tasks/replace_favicon.ts index cc853dfc3ab23..0d1602f324a2a 100644 --- a/src/dev/build/tasks/replace_favicon.ts +++ b/src/dev/build/tasks/replace_favicon.ts @@ -12,6 +12,11 @@ export const ReplaceFavicon: Task = { description: 'Replacing favicons with built version', async run(config, log, build) { + await copy( + config.resolveFromRepo('src/core/server/core_app/assets/favicons/favicon.distribution.ico'), + build.resolvePath('src/core/server/core_app/assets/favicons/favicon.ico') + ); + await copy( config.resolveFromRepo('src/core/server/core_app/assets/favicons/favicon.distribution.png'), build.resolvePath('src/core/server/core_app/assets/favicons/favicon.png')