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.
Having some issues with the Widget with assets lesson whereby
brfsdoesn't seem to be run over mywidget.jsfile.I execute
browserify -t brfs -d -r ./widget.js:widget | browserify-adventure verifyas per the description but when I load the given URL in the browser there are JS errors and upon inspection thewidget.jscode still has the untransformedfs.readFileSyncstatements.If I run browserify directly on
widget.jsas follows:browserify -t brfs -d -widget.js > bundle.jsthen 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.