Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
function
getFilesizeInBytes(filename) {
33
const
stats = fs.statSync(filename);
34
const
fileSizeInBytes = stats.size;
35
return
fileSizeInBytes;
36
}
37
38
let
promises = [];
39
console.log(
'components'
, components);
Callers
1
merge-spectrum-css.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected