1.0.0 • Published 10 years ago
duoify v1.0.0
Duoify
Allows Browserify bundles to be used by Duo by rewriting the require statements. This is useful when you have a module that is written using modules from npm and you want your package to be consumed by both npm and Duo.
npm install duoifyUsage
browserify index.js -t duoify > build.jsYou'll probably need to add a component.json file to your project so that Duo loads the correct file.
{
"name": "my-module",
"main": "build.js"
}1.0.0
10 years ago