[Pkg-javascript-commits] [node-browser-pack] 91/141: document new options

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:23:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-browser-pack.

commit 9004112ff7865c1f75d4b8a19a3c4665f8e8ac31
Author: James Halliday <mail at substack.net>
Date:   Thu Jul 24 12:39:17 2014 -0700

    document new options
---
 package.json    | 4 ++--
 readme.markdown | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 89e222b..b9c198e 100644
--- a/package.json
+++ b/package.json
@@ -7,10 +7,10 @@
     "browser-pack": "bin/cmd.js"
   },
   "dependencies": {
-    "JSONStream": "~0.6.4",
+    "JSONStream": "~0.8.4",
     "combine-source-map": "~0.3.0",
     "concat-stream": "~1.4.1",
-    "through2": "^0.5.1",
+    "through2": "~0.5.1",
     "umd": "^2.1.0"
   },
   "devDependencies": {
diff --git a/readme.markdown b/readme.markdown
index c56d91e..3e6691a 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -70,6 +70,13 @@ what you're doing first. See the `prelude.js` file in this repo for the default
 prelude. If you specify a custom prelude, you must also specify a valid
 `opts.preludePath` to the prelude source file for sourcemaps to work.
 
+`opts.standalone` external string name to use for umd
+
+`opts.standaloneNodule` sets the internal module name to export for standalone
+
+`opts.hasExports` whether the bundle should include `require=` (or the
+`opts.externalRequireName`) so that `require()` is available outside the bundle
+
 # install
 
 With [npm](https://npmjs.org), to get the library do:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browser-pack.git



More information about the Pkg-javascript-commits mailing list