Socket
Socket
Sign inDemoInstall

unbuild

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unbuild

A unified javascript build system


Version published
Weekly downloads
109K
increased by15.5%
Maintainers
2
Weekly downloads
 
Created
Source

unbuild

npm version npm downloads Github Actions Codecov

A unified javascript build system

📦 Optimized bundler

Robust rollup based bundler that supports typescript and generates commonjs and module formats + type declarations.

📁 Bundleless build

Integration with mkdist for generating bundleless dists with file-to-file transpilation.

✨ Passive watcher

Stub dist once using jiti and you can try and link your project without needing to watch and rebuild during development.

✍ Untype Generator

Integration with untyped.

✔️ Build Validator

Automatically check for potential missing and unused dependencies. Also you can check output size and exports quickly in CLI output.

Usage

Create src/index.ts and build.config.ts:

export default {
  entries: [
    './src/index'
  ]
}
npx unbuild

Configuration

You can either use unbuild key in package.json or build.config.{js,ts,json} to specify configuration.

See options here.

Fun fact

This library is built using itself for publishing!

License

MIT

FAQs

Package last updated on 27 Jan 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc