browserify / browserify/browserify

Shallow run

Open
#1,885 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14.7k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Is there any way to run browserify on a file/stdin, skipping all bundling steps and just applying a transform/plugin? That would enable browserify for other bundling systems, like [ncc](https://github.com/zeit/ncc) or [rollup](https://github.com/lautis/rollup-plugin-browserify-transform) as a transform CLI tool. _ncc_, for example, is incapable of handling glslify.

There is [browserify-single-file](https://ghub.io/browserify-single-file) package for that purpose, which seems to be broken. That can be fixed to match the current API, but that will be outdated with the next browserify release, also that emulates just a part of browserify API, which likely makes most of the plugins unavailable for it.

A flag `--shallow` (`--no-bundle`, `--bypass` or alike) would be a natural extension of `--bare` / `--node`, and similar by output to `--list` or `--deps`.

@goto-bus-stop would you consider this a good feature?

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.