You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first, BrowserfieyProcessor load a file that contains string of 'require' like var required = true;.
This file should not be browserified, but BrowserfiyProcessor#commonjs_module? think it is a browserifyable file, and check dependencies.
Off cause, it is not browserifiable file, so browserify --list return no lines and cached to @dependencies .
Then, Processor load other file that really browserifiyable like var $ = require("jquery");,
however, @dependencies is already cached with [], so BrowserifyProcessor#commonjs_module? always returns false.
The text was updated successfully, but these errors were encountered:
2.0.3 has been released with improvements to the CommonJS detection part so that var required = true; will no longer mark the file as being CommonJS. Do you still see the issue with it?
At first, BrowserfieyProcessor load a file that contains string of 'require' like
var required = true;
.This file should not be browserified, but
BrowserfiyProcessor#commonjs_module?
think it is a browserifyable file, and check dependencies.Off cause, it is not browserifiable file, so
browserify --list
return no lines and cached to@dependencies
.Then, Processor load other file that really browserifiyable like
var $ = require("jquery");
,however,
@dependencies
is already cached with[]
, soBrowserifyProcessor#commonjs_module?
always returnsfalse
.The text was updated successfully, but these errors were encountered: