SenseNet / sn-document-viewer-react

Document viewer component for sensenet ECM
GNU General Public License v2.0
1 stars 0 forks source link

Research: parceljs #15

Closed gallayl closed 6 years ago

gallayl commented 6 years ago

We should check if we can change our packaging / bundling pipeline from webpack and create-react-app to parceljs.

Tasks

Summary

gallayl commented 6 years ago

Sn-document-viewer package summary

Installed dependencies (reported by npm audit)

Webpack: 15243 (14707 dev, 222 optional) 👎 Parcel: 8421 (1542 dev, 127 optional) 👍

Initial compile time:

Webpack: 10348ms 👍 Parcel: 13.5s(cahed) - 26.04s(no cached) 👎

Bundle (dist folder) size:

Webpack: 9.55MB 👎 Parcel: 8.16MB 👍

Network transfer size on page load

Webpack: 5.7MB 👎 Parcel: 5.2MB 👍

Summary

Pros:

Cons:

gallayl commented 6 years ago

sn-community-app

Installed packages (reported by NPM Audit):

Webpack: 19922 (1029 dev, 177 optional) 👍 Parcel: 29746 (52 dev, 675 optional) 👎

Initial compile time:

Webpack: 14862ms 👍 Parcel: (20.9s) (38.39s w/o cache) 👎

Bundle (dist folder) size:

Webpack: 9.35mb 👎 Parcel: 8.8mb 👍

Network transfer size on page load:

Webpack: 1.5MB (?) 👍 Parcel: 6.4MB 👎

Summary