preact icon indicating copy to clipboard operation
preact copied to clipboard

Compat: statically re-export hooks

Open developit opened this issue 4 years ago • 2 comments
trafficstars

This only matters for the generated CommonJS bundle, which was previously doing a loop that caused Node's CJS named export inference to fail.

developit avatar Oct 28 '21 19:10 developit

Coverage Status

Coverage remained the same at 99.624% when pulling b0d695a7529c44b4032f8898a4c720f57210929e on compat-reexport-hooks into bd52611cade159a643b617794410f40a9d52eda3 on master.

coveralls avatar Oct 28 '21 19:10 coveralls

Size Change: -88 B (0%)

Total Size: 41.9 kB

Filename Size Change
compat/dist/compat.js 3.28 kB -151 B (4%)
compat/dist/compat.module.js 3.44 kB +17 B (0%)
compat/dist/compat.umd.js 3.53 kB +46 B (1%)
ℹ️ View Unchanged
Filename Size Change
debug/dist/debug.js 2.99 kB 0 B
debug/dist/debug.module.js 2.98 kB 0 B
debug/dist/debug.umd.js 3.07 kB 0 B
devtools/dist/devtools.js 232 B 0 B
devtools/dist/devtools.module.js 241 B 0 B
devtools/dist/devtools.umd.js 308 B 0 B
dist/preact.js 3.96 kB 0 B
dist/preact.min.js 3.98 kB 0 B
dist/preact.module.js 3.98 kB 0 B
dist/preact.umd.js 4.03 kB 0 B
hooks/dist/hooks.js 1.13 kB 0 B
hooks/dist/hooks.module.js 1.14 kB 0 B
hooks/dist/hooks.umd.js 1.2 kB 0 B
jsx-runtime/dist/jsxRuntime.js 317 B 0 B
jsx-runtime/dist/jsxRuntime.module.js 327 B 0 B
jsx-runtime/dist/jsxRuntime.umd.js 395 B 0 B
test-utils/dist/testUtils.js 437 B 0 B
test-utils/dist/testUtils.module.js 439 B 0 B
test-utils/dist/testUtils.umd.js 515 B 0 B

compressed-size-action

github-actions[bot] avatar Oct 28 '21 19:10 github-actions[bot]