Skip to content

make browser bundle lighter by using web crypto #1

Description

@jchris

The current esbuild system is in scripts/settings.js. It works but it bundles a bunch of crypto we don't need. Check out getDefaultRandom() here

There is currently an unused scripts/rollup.js configuration waiting for someone to polyfill Buffer. It's targetted by npm run build:rollup and ready for you to hack around on.

Here's what my acceptance process looks like. Any help optimizing that would be rad too.

Screen Shot 2023-08-18 at 8 11 52 AM

If all you do is try different builds and leave notes here, that's useful too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions