TrySound / rollup-plugin-size-snapshot

Track your library bundles size and its treeshakability with less effort
MIT License
163 stars 12 forks source link

Add support Node v18 #65

Open rensftw opened 2 years ago

rensftw commented 2 years ago

Hello! Thank you for maintaining this great plugin 🙂

rollup-plugin-size-snapshot does not seem to support Node v18 at the moment. This error gets thrown when I try to make build:

image

According to stack overflow this could also be mitigated by passing:

NODE_OPTIONS=--openssl-legacy-provider