From 8c185d4b5e90add76abab31473e068bd35d66c76 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 4 Dec 2022 15:06:16 -0500 Subject: [PATCH] Add another key to config diff whitelist --- webpack/configDiffPlugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack/configDiffPlugin.js b/webpack/configDiffPlugin.js index 43456e87..ce5e5c5a 100644 --- a/webpack/configDiffPlugin.js +++ b/webpack/configDiffPlugin.js @@ -10,7 +10,7 @@ function partialDeepEquals (actual, expected, logger) { // loop over key, value of expected let failed = false; for (const [ key, value ] of Object.entries(expected)) { - if (key === "serverAddress" || key === "testingServerAddress" || key === "serverAddressComment") continue + if (key === "serverAddress" || key === "testingServerAddress" || key === "serverAddressComment" || key === "freeChapterAccess") continue // if value is object, recurse const actualValue = actual?.[key] if (typeof value !== "string" && Array.isArray(value)) { @@ -63,4 +63,4 @@ class configDiffPlugin { } } -module.exports = configDiffPlugin; \ No newline at end of file +module.exports = configDiffPlugin;