Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

We really should add rollup support #269

@yaronyg

Description

@yaronyg

The NPM rollup project can take a whole mess of separate node.js files and roll them up into one monster file. This would help Thali in a bunch of ways including making loading apps faster since we wouldn't have the zip file processing overhead. Since we don't have a lot of optional code everything we have is more or less guaranteed to be loaded so this could help us. It's at least worth testing out.

What makes rollup really cool over says browserify is that it actually analyzes dependencies and just pulls in the code they need. This means that we could potentially radically reduce our footprint in the app since we have tons of dependencies where we aren't coming close to using everything they do.

To make this work we would have to switch to ES6 modules but we were anyway planning on moving to Typescript which already supports ES6 modules so we would be good.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions