Skip to content

Reverse browserify: unpackjs is a tool to split a single file in multiple files

Notifications You must be signed in to change notification settings

Rob--W/unpackjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

unpackjs

browserify takes a project and generates a single file.
This tool, unpackjs does the opposite: It takes a list of files, and creates a directory with separate modules for each file.

This has only been tested with browserify, but other bundlers such as RequireJS or Webpack may be supported in the future if I need such a tool.

Usage

$ npm install -g unpackjs
$ unpackjs path/to/file.js path/to/file2.js

# Now there are directories "path-to-file" and "path-to-file2" that contain
# the modules.

Authors

Rob Wu [email protected] (https://robwu.nl)

About

Reverse browserify: unpackjs is a tool to split a single file in multiple files

Resources

Stars

Watchers

Forks

Packages

No packages published