From 3192e5bfa38162142ec25004904d5453a83b38af Mon Sep 17 00:00:00 2001 From: Mike Stemle Date: Wed, 31 Oct 2018 08:59:21 -0400 Subject: [PATCH] I just spent two hours trying to figure out how to use this in such a manner, and pouring over the documentation. I finally found it, and thought I would add a small bit of documentation. --- readme.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/readme.markdown b/readme.markdown index 7d6f87e62..e4cc10bac 100644 --- a/readme.markdown +++ b/readme.markdown @@ -480,6 +480,14 @@ $ npm install -g derequire $ browserify main.js --standalone Foo | derequire > bundle.js ``` +```html + + +``` + `opts.insertGlobalVars` will be passed to [insert-module-globals](https://www.npmjs.com/package/insert-module-globals) as the `opts.vars` parameter.