gatsby-module-loader
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -37,7 +37,7 @@ "use strict"; | ||
var executor = "\n return require.ensure([], function(_, error) {\n if (error) {\n console.log('bundle loading error', error)\n cb(true)\n } else {\n cb(null, " + callback + ")\n }\n }" + chunkName + ");\n "; | ||
var executor = "return require.ensure([], function(_, error) {\n if (error) {\n console.log('bundle loading error', error)\n cb(true)\n } else {\n cb(null, " + callback + ")\n }\n }" + chunkName + ");\n "; | ||
var result = "\n require(\n " + loaderUtils.stringifyRequest(this, "!" + path.join(__dirname, "patch.js")) + "\n );\n module.exports = function(cb) { " + executor + " }\n "; | ||
var result = "require(\n " + loaderUtils.stringifyRequest(this, "!" + path.join(__dirname, "patch.js")) + "\n );\n module.exports = function(cb) { " + executor + " }\n "; | ||
return result; | ||
}; |
{ | ||
"name": "gatsby-module-loader", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "_Based on https://github.com/webpack/bundle-loader and https://github.com/NekR/async-module-loader_", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
45896