From dbd31a4d36fdab7b38eb33859be033c95d637129 Mon Sep 17 00:00:00 2001 From: chrisgarrity Date: Wed, 25 Jul 2018 15:16:23 -0400 Subject: [PATCH] Exclude blocks messages from the combined file Scratch-blocks includes the blocks messages. Excluding them from the editor-msgs file will save >500kb --- scripts/build-data.js | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/build-data.js b/scripts/build-data.js index cbf273d2..20be9adc 100755 --- a/scripts/build-data.js +++ b/scripts/build-data.js @@ -101,7 +101,6 @@ let blockData = ';\n'; fs.writeFileSync(MSGS_DIR + 'blocks-msgs.js', blockData); -defaultsDeep(editorMsgs, blocksMessages); // generate combined editor-msgs file let editorData =