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

This commit is contained in:
André Abadesso authored and Peter Steinberger committed 2026-01-24 03:08:27 +00:00
1 parent b6591c3f69
commit c4c01089ab
1 file changed
+1 -1
+1 -1
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),
};