browserify / browserify/factor-bundle

Bundle external dependencies

Open
#16 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
397
Forks
24
PR merge metrics
No merged PRs in 30d

Description

In my project I'm using both **npm** modules and **bower** components (with debowerify) which I want to bundle together as `vendor.js` while keeping my own code in an `app.js` bundle.

What I did so far is created the `app.js` bundle by setting `external` to the **npm** modules and **bower** components. To figure out what modules to set as `external` I read the dependencies from `package.json` and `bower.json`.

Now, in a similar fashion I would like to parse my codebase, see which requires are external modules and bundle them together.
How could I do this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.