Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boennemann/dynamic-bundle
https://github.com/boennemann/dynamic-bundle
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/boennemann/dynamic-bundle
- Owner: boennemann
- Created: 2015-09-03T20:52:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-26T02:39:11.000Z (about 8 years ago)
- Last Synced: 2024-10-13T18:29:16.283Z (2 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dynamic-bundle
> dynamically add dependencies from npm to the bundle before publishing
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
[![Dependency Status](https://david-dm.org/boennemann/dynamic-bundle/master.svg)](https://david-dm.org/boennemann/dynamic-bundle/master)
[![devDependency Status](https://david-dm.org/boennemann/dynamic-bundle/master/dev-status.svg)](https://david-dm.org/boennemann/dynamic-bundle/master#info=devDependencies)
[![Build Status](https://travis-ci.org/boennemann/dynamic-bundle.svg?branch=master)](https://travis-ci.org/boennemann/dynamic-bundle)```bash
dynamic-bundle
```Adds all dependencies that match `pkg.name + '-*'` to `bundleDependencies`
```bash
dynamic-bundle --prefix foo
```Adds all dependencies that match `foo-*'` to `bundleDependencies`
```bash
dynamic-bundle -p foo -p bar -p baz
```Adds foo, bar and baz to `bundleDependencies`