storybookjs/storybook

[Bug]: Favicon default not removed with manager-head.html in Storybook 7

Closed

#25280 opened on Dec 20, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (89,909 stars) (10,058 forks)batch import
bugbuilder-managerhelp wantedsev:S3

Description

Describe the bug

Favicon default not removed with manager-head.html in Storybook 7. Because of this, it is impossible to set a custom favicon

To Reproduce

https://stackblitz.com/edit/github-1dipzi?file=package.json,.storybook%2Fpublic%2Fui.png&preset=node

System

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 Intel(R) Core(TM) i9-9900 CPU @ 3.10GHz
  Binaries:
    Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD <----- active
  Browsers: {}
  npmPackages:
    @storybook/addon-backgrounds: ^7.6.6 => 7.6.6
    @storybook/addon-controls: ^7.6.6 => 7.6.6
    @storybook/addon-docs: ^7.6.6 => 7.6.6
    @storybook/addon-links: ^7.6.6 => 7.6.6
    @storybook/addon-styling: ^1.3.7 => 1.3.7
    @storybook/addons: ^7.6.6 => 7.6.6
    @storybook/react: ^7.6.6 => 7.6.6
    @storybook/react-webpack5: ^7.6.6 => 7.6.6
    @storybook/theming: ^7.6.6 => 7.6.6
    eslint-plugin-storybook: ^0.6.15 => 0.6.15
    storybook: ^7.6.6 => 7.6.6

Additional context

head storybook version 6.5.16: head storybook version 7.6.6: current manager-head.html: <link rel="icon" type="image/svg+xml" href="./ui.png" sizes="56x56" />

Contributor guide