browserify / browserify/module-deps

Are module-deps options passed as parameter to the transforms?

Open
#160 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
208
Forks
102
PR merge metrics
No merged PRs in 30d

Description

The documentation is unclear about this point:

> If the transform is a function, it should take the file name as an argument

Then, the example shows a second parameters named `opts`:

```js
var through = require('through2');
module.exports = function (file, opts) { return through() };
```

What is this second parameter? Is it the options passed to module-deps constructor?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.