browserify / browserify/browserify
Stream Non-Entry Files
Open
- Dominant language
- JavaScript
- Stars
- 14.7k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to also stream files that the entry file requires is this possible?
I have been looking for a while and haven't found innate to browserify or a plugin.
Simplified Example:
```javascript
const str = require('string-to-stream');
const browserify = require('browserify');
const entry = "const func = require('./func.js')";
const func = "module.exports = function() {return 'func'}";
browserify(str(entry), {basedir: __dirname})
// somehow map './func.js' to func string
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.