Bundle dependencies
See original GitHub issueI usually don’t care to do this, but it would be nice if meow
was simply one dependency as it would help the install time on lots of small CLIs.
Not exactly sure the best way to do this. It should be something that doesn’t add any build-script for development, meaning, everything should be handled in a prepublish
script.
Maybe npm-packager
or just build it with Webpack.
Suggestions and help welcome.
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
bundle-dependencies - npm
Generates bundledDependencies package.json value using values of the dependencies property.. Latest version: 1.0.2, last published: 7 years ...
Read more >node.js - Advantages of bundledDependencies over normal ...
Normal dependencies are usually installed from the npm registry. Thus bundled dependencies are useful when: ... This way, you don't have to create ......
Read more >Bundle NPM package dependencies (speed up install time up ...
There are two ways to bundle NPM package dependencies: ... The latter uses tar to bundle all dependencies into the package bundle. There...
Read more >The npm Dependency Handbook for You - GreenRoots Blog
The package version · Differentiate the packages(or libraries) you want to bundle as a must dependency and what you need for your development, ......
Read more >gajus/bundle-dependencies - GitHub
Generates bundledDependencies package.json value using values of the dependencies property. Updates package.json definition using the generated ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sindresorhus I feel like zeit/ncc would be a good choice for this.
Edit: I guess ncc uses webpack under the hood. I got this working with a plugin I’ve developed that uses Rollup. I will try to submit a PR soon.
@tunnckoCore I’ve looked at that before, but I’ve decided to go with
ncc
.