Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.ignore file nodejs



ignore = [];
var original_require = require;
require = function(file){
    if(ignore.indexOf(file)!=-1) return original_require(file);
};


Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #file #nodejs
ADD COMMENT
Topic
Name
2+7 =