dynamic-bundle

dynamically add dependencies from npm to the bundle before publishing

Usage no npm install needed!

<script type="module">
  import dynamicBundle from 'https://cdn.skypack.dev/dynamic-bundle';
</script>

README

dynamic-bundle

dynamically add dependencies from npm to the bundle before publishing

semantic-release js-standard-style Dependency Status devDependency Status Build Status

dynamic-bundle

Adds all dependencies that match pkg.name + '-*' to bundleDependencies

dynamic-bundle --prefix foo

Adds all dependencies that match foo-*' to bundleDependencies

dynamic-bundle -p foo -p bar -p baz

Adds foo, bar and baz to bundleDependencies