https://github.com/boennemann/dynamic-bundle
https://github.com/boennemann/dynamic-bundle
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/boennemann/dynamic-bundle
- Owner: boennemann
- Created: 2015-09-03T20:52:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-26T02:39:11.000Z (over 8 years ago)
- Last Synced: 2025-02-22T06:34:54.402Z (5 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
[](https://github.com/semantic-release/semantic-release)
[](https://github.com/feross/standard)
[](https://david-dm.org/boennemann/dynamic-bundle/master)
[](https://david-dm.org/boennemann/dynamic-bundle/master#info=devDependencies)
[](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`