Skip to content
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

Issue compiling with brfs on Widget with assets #13

Open
unkillbob opened this issue Oct 25, 2014 · 0 comments
Open

Issue compiling with brfs on Widget with assets #13

unkillbob opened this issue Oct 25, 2014 · 0 comments

Comments

@unkillbob
Copy link

Having some issues with the Widget with assets lesson whereby brfs doesn't seem to be run over my widget.js file.

I execute browserify -t brfs -d -r ./widget.js:widget | browserify-adventure verify as per the description but when I load the given URL in the browser there are JS errors and upon inspection the widget.js code still has the untransformed fs.readFileSync statements.

If I run browserify directly on widget.js as follows: browserify -t brfs -d -widget.js > bundle.js then it correctly transforms.

Is there a flag missing from the call to browserify in the lesson description or something? I don't understand what (if anything) I'm doing wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant