From e539a5772604da883adc1bd7a1f8473ebc11f962 Mon Sep 17 00:00:00 2001 From: aeolian <94939382+aeolianeth@users.noreply.github.com> Date: Sun, 1 Dec 2024 22:18:41 +1000 Subject: [PATCH] Comment --- scripts/abi-codegen.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/abi-codegen.js b/scripts/abi-codegen.js index c3b27fba87..8416676ef3 100644 --- a/scripts/abi-codegen.js +++ b/scripts/abi-codegen.js @@ -4,6 +4,9 @@ * Behaviour differs slightly, depending on what contract we're importing. * * The idea is: instead asyncronously importing the JSON files at runtime, we bundle them into a TS file, and import that instead. + * + * There a multiple TS files generated. Again, behaviour differs slightly depending on the contract. + * * This way: * - we reduce the number of individual files that Next/webpack builds * - we save on some total bundle size (the total TS files < the total JSON files)