renfredxh / resolvify

Browserify transform using nodeJS module resolution algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

resolvify

Browserify transform using nodeJS module resolution algorithm

Install

npm install resolvify --save-dev

Use

Add a resolvify entry in your package.json or pass as cli option to transform:

//package.json
...
resolvify: ["shared"]
...
browserify [ -t resolvify common ]

Then both the folders "shared" and "common" will be resolved like "node_modules".

About

Browserify transform using nodeJS module resolution algorithm

License:MIT License


Languages

Language:JavaScript 100.0%