Skip to content

Commit

Permalink
Update moduleReport config with latest bundle info
Browse files Browse the repository at this point in the history
  • Loading branch information
VeskeR committed Oct 25, 2024
1 parent bda102c commit 3960852
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/moduleReport.ts
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import { gzip } from 'zlib';
import Table from 'cli-table';

// The maximum size we allow for a minimal useful Realtime bundle (i.e. one that can subscribe to a channel)
const minimalUsefulRealtimeBundleSizeThresholdsKiB = { raw: 100, gzip: 31 };
const minimalUsefulRealtimeBundleSizeThresholdsKiB = { raw: 101, gzip: 31 };

const baseClientNames = ['BaseRest', 'BaseRealtime'];

@@ -310,12 +310,15 @@ async function checkLiveObjectsPluginFiles() {
// These are the files that are allowed to contribute >= `threshold` bytes to the LiveObjects bundle.
const allowedFiles = new Set([
'src/plugins/liveobjects/index.ts',
'src/plugins/liveobjects/livecounter.ts',
'src/plugins/liveobjects/livemap.ts',
'src/plugins/liveobjects/liveobject.ts',
'src/plugins/liveobjects/liveobjects.ts',
'src/plugins/liveobjects/liveobjectspool.ts',
'src/plugins/liveobjects/objectid.ts',
'src/plugins/liveobjects/statemessage.ts',
'src/plugins/liveobjects/syncliveobjectsdatapool.ts',
'src/plugins/liveobjects/timeserial.ts',
]);

return checkBundleFiles(pluginBundleInfo, allowedFiles, 100);

0 comments on commit 3960852

Please sign in to comment.