Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 816 Bytes

setup.md

File metadata and controls

45 lines (30 loc) · 816 Bytes

Setup

Requirements

  • node >= 6
  • yarn >= 1.0.0 (with yarn workspaces support)

Clone

git clone https://github.com/babel/minify
cd minify

Install Dependencies

yarn

Build

To build once:

yarn build

Or to do an incremental build in watch mode:

yarn watch

Use babel-minify's master branch in your project

If you're using the preset - link the preset package (babel-preset-minify). If you're using the CLI or babel-minify NodeAPI or the gulp plugin, link the relevant package to your project.

cd packages/babel-preset-minify
yarn link

cd /path/to/your-project
yarn link babel-preset-minify