mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 20:21:07 +08:00
Change to .disabled property for disabling autorefs
This commit is contained in:
parent
b973c84884
commit
db7da2bfd1
@ -70,7 +70,7 @@ async function getManagerWebpackConfig(options, presets) {
|
||||
|
||||
if (definedRefs) {
|
||||
Object.entries(definedRefs).forEach(([key, value]) => {
|
||||
if (value === null) {
|
||||
if (value?.disabled) {
|
||||
delete refs[key];
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user