File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,14 @@ brfs looks for:
89
89
* ` fs.readdirSync(pathExpr, cb) `
90
90
* ` fs.readdir(pathExpr, cb) `
91
91
92
- The ` pathExpr ` function is evaluated as an expression with ` __dirname ` and
93
- ` __filename ` variables available.
94
-
95
- You can use methods from the path module such as ` path.join() ` if you first do
96
- ` var path = require('path') ` .
92
+ Inside of each ` pathExpr ` , you can use
93
+ [ statically analyzable] ( http://npmjs.org/package/static-eval ) expressions and
94
+ these variables and functions:
95
+
96
+ * ` __dirname `
97
+ * ` __filename `
98
+ * ` path ` if you ` var path = require('path') ` first
99
+ * ` require.resolve() `
97
100
98
101
Just like node, the default encoding is ` null ` and will give back a ` Buffer ` .
99
102
If you want differently-encoded file contents for your inline content you can
You can’t perform that action at this time.
0 commit comments