enhanced-require
Advanced tools
Comparing version 0.5.0-beta1 to 0.5.0-beta2
@@ -10,6 +10,7 @@ #!/usr/bin/env node | ||
var existsSync = require("fs").existsSync || path.existsSync; | ||
var configFile = path.resolve("enhanced-require.config.js"); | ||
if(require("fs").existsSync(configFile)) | ||
if(existsSync(configFile)) | ||
config = require(configFile); | ||
require("../lib/require")(process.cwd(), config)(file.join("!")); |
@@ -10,4 +10,5 @@ #!/usr/bin/env node | ||
var existsSync = require("fs").existsSync || path.existsSync; | ||
var configFile = path.resolve("enhanced-require.config.js"); | ||
if(require("fs").existsSync(configFile)) | ||
if(existsSync(configFile)) | ||
config = require(configFile); | ||
@@ -14,0 +15,0 @@ |
{ | ||
"name": "enhanced-require", | ||
"version": "0.5.0-beta1", | ||
"version": "0.5.0-beta2", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72159
1966