makenowjust-labs / recheck

The trustworthy ReDoS checker
https://makenowjust-labs.github.io/recheck/
MIT License
242 stars 12 forks source link

Bundle size is 6mb #1214

Closed Lilja-at-funnel closed 5 months ago

Lilja-at-funnel commented 5 months ago

Hi!

This is my first time using recheck. When bundling, the output seems to turn out to be 6.8mb for just this package.

Does this package really need to bundle all what it's currently bundling? Is there something one can do reduce the bundle size?

makenowjust commented 5 months ago

Recheck contains Unicode tables for parsing and interpreting Unicode-class correctly, so the bundle size is large. Unfortunately, there is no option to drop this Unicode table from the bundle. Sorry.

Lilja-at-funnel commented 5 months ago

Thanks! Closing this issue then.