solid-auth-client icon indicating copy to clipboard operation
solid-auth-client copied to clipboard

Reduce library size

Open RubenVerborgh opened this issue 8 years ago • 4 comments

The minified file is currently 116KB. I wonder if we could do something about it.

With source-map-explorer, I obtained this diagram. I wonder if there are some components we can drop, such as Validator.js and buffer.

RubenVerborgh avatar Jul 24 '17 18:07 RubenVerborgh

Mhm, turns out that both of my suggestions are actually needed by oidc-rp. Might be not much we can do here.

RubenVerborgh avatar Jul 24 '17 20:07 RubenVerborgh

Fair enough. I'll keep this open, and tag it as "enhancement" :)

dan-f avatar Jul 25 '17 19:07 dan-f

see https://github.com/solid/solid-auth-client/issues/26

dan-f avatar Aug 31 '17 15:08 dan-f

I find http://chrisbateman.github.io/webpack-visualizer/ very helpful to see how much comes from which bundled dependency.

elf-pavlik avatar Feb 03 '19 19:02 elf-pavlik