question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bundle dependencies

See original GitHub issue

I 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:open
  • Created 6 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
ianwaltercommented, Jan 9, 2019

@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.

2reactions
sindresorhuscommented, Nov 18, 2019

@tunnckoCore I’ve looked at that before, but I’ve decided to go with ncc.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found