MCPcopy Create free account
hub / github.com/adobe/react-spectrum / getFilesizeInBytes

Function getFilesizeInBytes

scripts/merge-spectrum-css.js:32–36  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

30}
31
32function getFilesizeInBytes(filename) {
33 const stats = fs.statSync(filename);
34 const fileSizeInBytes = stats.size;
35 return fileSizeInBytes;
36}
37
38let promises = [];
39console.log('components', components);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected