MCPcopy
hub / github.com/ctrlplusb/react-sizeme / fileGZipSize

Function fileGZipSize

tools/scripts/build.js:20–22  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

18exec('npx rollup -c rollup.config.js', nodeEnv)
19
20function fileGZipSize(path) {
21 return pipe(readFileSync, gzipSize.sync, prettyBytes)(path)
22}
23
24console.log(
25 `\ngzipped, the build is ${fileGZipSize(`dist/${packageJson.name}.min.js`)}`,

Callers 1

build.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…