fix: respect "none" value for plugins.slots.memory

This commit is contained in:
André Abadesso
2026-01-23 23:33:40 -03:00
committed by Peter Steinberger
parent b6591c3f69
commit c4c01089ab

View File

@@ -58,7 +58,7 @@ export const normalizePluginsConfig = (
deny: normalizeList(config?.deny),
loadPaths: normalizeList(config?.load?.paths),
slots: {
memory: memorySlot ?? defaultSlotIdForKey("memory"),
memory: memorySlot === undefined ? defaultSlotIdForKey("memory") : memorySlot,
},
entries: normalizePluginEntries(config?.entries),
};