Comparing version 0.7.1 to 0.7.2
@@ -303,3 +303,4 @@ /* | ||
var reason = { | ||
type: directRequire[moduleName] ? "require" : "async require", | ||
type: "require", | ||
async: !directRequire[moduleName] || undefined, | ||
count: requires[moduleName].length, | ||
@@ -327,3 +328,4 @@ filename: filenameWithLoaders | ||
var reason = { | ||
type: directContexts[context.name] ? "context" : "async context", | ||
type: "context", | ||
async: !directContexts[context.name] || undefined, | ||
filename: filenameWithLoaders | ||
@@ -521,2 +523,3 @@ }; | ||
type: "context", | ||
async: reason.async, | ||
dirname: contextModuleNameWithLoaders, | ||
@@ -523,0 +526,0 @@ filename: reason.filename |
@@ -82,13 +82,7 @@ /* | ||
case "require": | ||
buf.push(" "+c("\033[36m")+"require (" + reason.count + "x) from " + compressFilename(reason.filename) + c("\033[39m")); | ||
buf.push(" "+c("\033[36m")+(reason.async?"async ":"")+"require (" + reason.count + "x) from " + compressFilename(reason.filename) + c("\033[39m")); | ||
break; | ||
case "context": | ||
buf.push(" "+c("\033[90m")+"context from " + compressFilename(reason.filename) + c("\033[39m")); | ||
buf.push(" "+c("\033[90m")+(reason.async?"async ":"")+"context from " + compressFilename(reason.filename) + c("\033[39m")); | ||
break; | ||
case "async require": | ||
buf.push(" "+c("\033[35m")+"async require (" + reason.count + "x) from " + compressFilename(reason.filename) + c("\033[39m")); | ||
break; | ||
case "async context": | ||
buf.push(" "+c("\033[35ma")+"async context from " + compressFilename(reason.filename) + c("\033[39m")); | ||
break; | ||
default: | ||
@@ -95,0 +89,0 @@ buf.push(" "+c("\033[31m") + reason.type + c("\033[39m")); |
{ | ||
"name": "webpack", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Packs CommonJs/AMD Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loading of js, json, jade, coffee, css, ... out of the box and more with custom loaders.", |
@@ -591,6 +591,7 @@ # webpack | ||
{ id: 1, size: 234, filename: "...", reasons: [ | ||
{ type: "require", // or "context", "async require", "async context" | ||
{ type: "require", // or "context" | ||
async: true, | ||
count: 2, | ||
filename: "/home/.../main.js", | ||
// additionally: dirname: "..." // for type = "context" or "async context" | ||
// additionally: dirname: "..." // for type = "context" | ||
} | ||
@@ -597,0 +598,0 @@ ]}, |
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
982
372339
9114