Closed Andarist closed 6 years ago
Any proof that this reduces bundle size? My initial test was pretty equivalent to master
.
I've made tests after running ./node_modules/.bin/nps build.es
and then inspecting the size with wc -c dist/react-final-form-html5-validation.es.js
master 670401 my PR 6402
Rollup build times also went down quite a bit (1.8s vs 422ms)
The problem was using findDOMNode
but not specifying react-dom
as external
Um, confirmed. From 30 kb down to 1.45kb. π€¦ββοΈπ₯
Codecov Report
Continue to review full report at Codecov.