Socket
Socket
Sign inDemoInstall

@shortwave/metro-minify-terser

Package Overview
Dependencies
14
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @shortwave/metro-minify-terser

🚇 Minifier for Metro based on Terser.


Version published
Weekly downloads
4
Maintainers
3
Created
Weekly downloads
 

Readme

Source

Metro Minify Terser

This is a minifier for Metro (the React Native build tool) that supports the terser v5 implementation. Sadly the v5 version of terser has an async API and metro only allows for sync minifiers, so this hacks a sync interface on top of terser by running it as a worker in another process.

Hopefully a PR to allow async minifiers to Metro will be merged and we can remove the hacks here.

FAQs

Last updated on 04 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc