-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brfs breaks source maps #7
Comments
any news on this ? can brfs support source maps ? |
I am not sure this issue will ever be solved with the current iteration of I experimented with the latter here: It supports source maps and some (but not all) of brfs use cases. Since it builds on babel, things like removing nodes are trivial to implement. However, babel does not support async transformations, so it will probably never replace |
📦 1.5.0 |
Update 1.4.4 to 1.5.0 breaks sourcemap for my case:
|
Still breaks the sourcemaps here too. |
In what way? Can you share an example? |
Sure: const fs = require("fs");
const browserify = require("browserify");
browserify("./script.js", { debug: true })
.transform("babelify", {presets: ["env"], sourceMaps: true})
.transform("brfs")
.bundle()
.pipe(fs.createWriteStream("bundle.js")); With the |
Thanks, moving to #86! |
I love brfs, but this issue is right now my number one annoyance. To replicate this, take any multifile bundle and add an fs.readSync with brfs. Open up the result in chrome, and you get a single giant blob.
Any ideas on what could be done to fix this situation?
The text was updated successfully, but these errors were encountered: