react-strict-dom icon indicating copy to clipboard operation
react-strict-dom copied to clipboard

Add babel plugin to optimize web output

Open necolas opened this issue 1 year ago • 1 comments

The babel plugin can be used by web builds to inline the component wrapper and remove the runtime overhead.

Fix #23

necolas avatar Feb 23 '24 01:02 necolas

compressed-size: runtime library

Size change: +0.97 kB Total size: 15.89 kB

Filename: gzip (minify) kB size kB change % change
./packages/react-strict-dom/dist/dom.js 2.89 (8.62) +0.05 (-0.20) +1.9% (-2.2%) 🔴
./packages/react-strict-dom/dist/runtime.js 0.92 (2.26) +0.92 (+2.26) +100.0% (+100.0%) 🔴
View unchanged
Filename: gzip (minify) kB size kB change % change
./packages/react-strict-dom/dist/native.js 12.08 (37.83) 0.00 (0.00) 0.0% (0.0%)

github-actions[bot] avatar Feb 23 '24 01:02 github-actions[bot]