- node >= 4
- yarn >= 1.0.0 (with yarn workspaces support)
git clone https://github.com/babel/minify
cd minify
yarn
To build once:
yarn build
Or to do an incremental build in watch mode:
yarn watch
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