From 2aae876398cea38caf9a84dc30703dc09406d7f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 11 Apr 2018 09:36:33 +0200 Subject: [PATCH] document parserOpts --- package.json | 2 +- readme.markdown | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0e8283e..4a61d82 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "through2": "^2.0.0" }, "devDependencies": { - "browserify": "^4.2.0", + "browserify": "^16.1.1", "concat-stream": "^1.6.0", "tap": "~0.4.8", "through": "^2.3.4" diff --git a/readme.markdown b/readme.markdown index 4184aae..19058a8 100644 --- a/readme.markdown +++ b/readme.markdown @@ -125,6 +125,9 @@ Optionally, you can set which `opts.vars` will be used in the [static argument evaluation](https://npmjs.org/package/static-eval) in addition to `__dirname` and `__filename`. +`opts.parserOpts` can be used to configure the parser brfs uses, +[acorn](https://github.com/acornjs/acorn#main-parser). + # events ## tr.on('file', function (file) {})