mirror of https://github.com/webpack/webpack.git
fixes incorrect CLI stats output
add "detailed" preset clean up presets to do more useful stuff fixes #4141 fixes #4118
This commit is contained in:
parent
6db1526f18
commit
0f16dd95b1
|
@ -134,6 +134,11 @@ yargs.options({
|
|||
group: DISPLAY_GROUP,
|
||||
describe: "Display details about errors"
|
||||
},
|
||||
"display": {
|
||||
type: "string",
|
||||
group: DISPLAY_GROUP,
|
||||
describe: "Select display preset (verbose, detailed, normal, minimal, errors-only, none)"
|
||||
},
|
||||
"verbose": {
|
||||
type: "boolean",
|
||||
group: DISPLAY_GROUP,
|
||||
|
@ -144,16 +149,7 @@ yargs.options({
|
|||
var argv = yargs.argv;
|
||||
|
||||
if(argv.verbose) {
|
||||
argv["display-reasons"] = true;
|
||||
argv["display-depth"] = true;
|
||||
argv["display-entrypoints"] = true;
|
||||
argv["display-used-exports"] = true;
|
||||
argv["display-provided-exports"] = true;
|
||||
argv["display-optimization-bailout"] = true;
|
||||
argv["display-error-details"] = true;
|
||||
argv["display-modules"] = true;
|
||||
argv["display-cached"] = true;
|
||||
argv["display-cached-assets"] = true;
|
||||
argv["display"] = "verbose";
|
||||
}
|
||||
|
||||
var options = require("./convert-argv")(yargs, argv);
|
||||
|
@ -187,6 +183,11 @@ function processOptions(options) {
|
|||
} else if(!outputOptions) {
|
||||
outputOptions = {};
|
||||
}
|
||||
|
||||
ifArg("display", function(preset) {
|
||||
outputOptions = statsPresetToOptions(preset);
|
||||
});
|
||||
|
||||
outputOptions = Object.create(outputOptions);
|
||||
if(Array.isArray(options) && !outputOptions.children) {
|
||||
outputOptions.children = options.map(o => o.stats);
|
||||
|
@ -225,28 +226,36 @@ function processOptions(options) {
|
|||
outputOptions.cachedAssets = false;
|
||||
|
||||
ifArg("display-chunks", function(bool) {
|
||||
outputOptions.modules = !bool;
|
||||
outputOptions.chunks = bool;
|
||||
if(bool) {
|
||||
outputOptions.modules = false;
|
||||
outputOptions.chunks = true;
|
||||
outputOptions.chunkModules = true;
|
||||
}
|
||||
});
|
||||
|
||||
ifArg("display-entrypoints", function(bool) {
|
||||
outputOptions.entrypoints = bool;
|
||||
if(bool)
|
||||
outputOptions.entrypoints = true;
|
||||
});
|
||||
|
||||
ifArg("display-reasons", function(bool) {
|
||||
outputOptions.reasons = bool;
|
||||
if(bool)
|
||||
outputOptions.reasons = true;
|
||||
});
|
||||
|
||||
ifArg("display-depth", function(bool) {
|
||||
outputOptions.depth = bool;
|
||||
if(bool)
|
||||
outputOptions.depth = true;
|
||||
});
|
||||
|
||||
ifArg("display-used-exports", function(bool) {
|
||||
outputOptions.usedExports = bool;
|
||||
if(bool)
|
||||
outputOptions.usedExports = true;
|
||||
});
|
||||
|
||||
ifArg("display-provided-exports", function(bool) {
|
||||
outputOptions.providedExports = bool;
|
||||
if(bool)
|
||||
outputOptions.providedExports = true;
|
||||
});
|
||||
|
||||
ifArg("display-optimization-bailout", function(bool) {
|
||||
|
@ -254,11 +263,13 @@ function processOptions(options) {
|
|||
});
|
||||
|
||||
ifArg("display-error-details", function(bool) {
|
||||
outputOptions.errorDetails = bool;
|
||||
if(bool)
|
||||
outputOptions.errorDetails = true;
|
||||
});
|
||||
|
||||
ifArg("display-origins", function(bool) {
|
||||
outputOptions.chunkOrigins = bool;
|
||||
if(bool)
|
||||
outputOptions.chunkOrigins = true;
|
||||
});
|
||||
|
||||
ifArg("display-max-modules", function(value) {
|
||||
|
@ -282,21 +293,6 @@ function processOptions(options) {
|
|||
outputOptions.maxModules = Infinity;
|
||||
outputOptions.exclude = undefined;
|
||||
}
|
||||
} else {
|
||||
if(typeof outputOptions.chunks === "undefined")
|
||||
outputOptions.chunks = true;
|
||||
if(typeof outputOptions.entrypoints === "undefined")
|
||||
outputOptions.entrypoints = true;
|
||||
if(typeof outputOptions.modules === "undefined")
|
||||
outputOptions.modules = true;
|
||||
if(typeof outputOptions.chunkModules === "undefined")
|
||||
outputOptions.chunkModules = true;
|
||||
if(typeof outputOptions.reasons === "undefined")
|
||||
outputOptions.reasons = true;
|
||||
if(typeof outputOptions.cached === "undefined")
|
||||
outputOptions.cached = true;
|
||||
if(typeof outputOptions.cachedAssets === "undefined")
|
||||
outputOptions.cachedAssets = true;
|
||||
}
|
||||
|
||||
ifArg("hide-modules", function(bool) {
|
||||
|
@ -347,7 +343,9 @@ function processOptions(options) {
|
|||
process.stdout.write(JSON.stringify(stats.toJson(outputOptions), null, 2) + "\n");
|
||||
} else if(stats.hash !== lastHash) {
|
||||
lastHash = stats.hash;
|
||||
process.stdout.write(stats.toString(outputOptions) + "\n");
|
||||
var statsString = stats.toString(outputOptions);
|
||||
if(statsString)
|
||||
process.stdout.write(statsString + "\n");
|
||||
}
|
||||
if(!options.watch && stats.hasErrors()) {
|
||||
process.on("exit", function() {
|
||||
|
|
246
lib/Stats.js
246
lib/Stats.js
|
@ -8,7 +8,7 @@ const RequestShortener = require("./RequestShortener");
|
|||
const SizeFormatHelpers = require("./SizeFormatHelpers");
|
||||
const formatLocation = require("./formatLocation");
|
||||
|
||||
const optionOrFallback = (optionValue, fallbackValue) => optionValue !== undefined ? optionValue : fallbackValue;
|
||||
const optionOrFallback = (optionValue, fallbackValue) => typeof optionValue !== "undefined" ? optionValue : fallbackValue;
|
||||
|
||||
class Stats {
|
||||
constructor(compilation) {
|
||||
|
@ -75,51 +75,62 @@ class Stats {
|
|||
options = {};
|
||||
}
|
||||
|
||||
const optionOrLocalFallback = (v, def) =>
|
||||
typeof v !== "undefined" ? v :
|
||||
typeof options.all !== "undefined" ? options.all : def;
|
||||
|
||||
const compilation = this.compilation;
|
||||
const requestShortener = new RequestShortener(optionOrFallback(options.context, process.cwd()));
|
||||
const showPerformance = optionOrFallback(options.performance, true);
|
||||
const showHash = optionOrFallback(options.hash, true);
|
||||
const showVersion = optionOrFallback(options.version, true);
|
||||
const showTimings = optionOrFallback(options.timings, true);
|
||||
const showAssets = optionOrFallback(options.assets, true);
|
||||
const showEntrypoints = optionOrFallback(options.entrypoints, !forToString);
|
||||
const showChunks = optionOrFallback(options.chunks, true);
|
||||
const showChunkModules = optionOrFallback(options.chunkModules, !!forToString);
|
||||
const showChunkOrigins = optionOrFallback(options.chunkOrigins, !forToString);
|
||||
const showModules = optionOrFallback(options.modules, !forToString);
|
||||
const showDepth = optionOrFallback(options.depth, !forToString);
|
||||
const showCachedModules = optionOrFallback(options.cached, true);
|
||||
const showCachedAssets = optionOrFallback(options.cachedAssets, true);
|
||||
const showReasons = optionOrFallback(options.reasons, !forToString);
|
||||
const showUsedExports = optionOrFallback(options.usedExports, !forToString);
|
||||
const showProvidedExports = optionOrFallback(options.providedExports, !forToString);
|
||||
const showOptimizationBailout = optionOrFallback(options.optimizationBailout, !forToString);
|
||||
const showChildren = optionOrFallback(options.children, true);
|
||||
const showSource = optionOrFallback(options.source, !forToString);
|
||||
const showModuleTrace = optionOrFallback(options.moduleTrace, true);
|
||||
const showErrors = optionOrFallback(options.errors, true);
|
||||
const showErrorDetails = optionOrFallback(options.errorDetails, !forToString);
|
||||
const showWarnings = optionOrFallback(options.warnings, true);
|
||||
const showPerformance = optionOrLocalFallback(options.performance, true);
|
||||
const showHash = optionOrLocalFallback(options.hash, true);
|
||||
const showVersion = optionOrLocalFallback(options.version, true);
|
||||
const showTimings = optionOrLocalFallback(options.timings, true);
|
||||
const showAssets = optionOrLocalFallback(options.assets, true);
|
||||
const showEntrypoints = optionOrLocalFallback(options.entrypoints, !forToString);
|
||||
const showChunks = optionOrLocalFallback(options.chunks, !forToString);
|
||||
const showChunkModules = optionOrLocalFallback(options.chunkModules, !!forToString);
|
||||
const showChunkOrigins = optionOrLocalFallback(options.chunkOrigins, !forToString);
|
||||
const showModules = optionOrLocalFallback(options.modules, true);
|
||||
const showDepth = optionOrLocalFallback(options.depth, !forToString);
|
||||
const showCachedModules = optionOrLocalFallback(options.cached, true);
|
||||
const showCachedAssets = optionOrLocalFallback(options.cachedAssets, true);
|
||||
const showReasons = optionOrLocalFallback(options.reasons, !forToString);
|
||||
const showUsedExports = optionOrLocalFallback(options.usedExports, !forToString);
|
||||
const showProvidedExports = optionOrLocalFallback(options.providedExports, !forToString);
|
||||
const showOptimizationBailout = optionOrLocalFallback(options.optimizationBailout, !forToString);
|
||||
const showChildren = optionOrLocalFallback(options.children, true);
|
||||
const showSource = optionOrLocalFallback(options.source, !forToString);
|
||||
const showModuleTrace = optionOrLocalFallback(options.moduleTrace, true);
|
||||
const showErrors = optionOrLocalFallback(options.errors, true);
|
||||
const showErrorDetails = optionOrLocalFallback(options.errorDetails, !forToString);
|
||||
const showWarnings = optionOrLocalFallback(options.warnings, true);
|
||||
const warningsFilter = optionOrFallback(options.warningsFilter, null);
|
||||
const showPublicPath = optionOrFallback(options.publicPath, !forToString);
|
||||
const excludeModules = [].concat(optionOrFallback(options.exclude, [])).map(str => {
|
||||
if(typeof str !== "string") return str;
|
||||
return new RegExp(`[\\\\/]${str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&")}([\\\\/]|$|!|\\?)`);
|
||||
const showPublicPath = optionOrLocalFallback(options.publicPath, !forToString);
|
||||
const excludeModules = [].concat(optionOrFallback(options.exclude, [])).map(item => {
|
||||
if(typeof item === "string") {
|
||||
const regExp = new RegExp(`[\\\\/]${item.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&")}([\\\\/]|$|!|\\?)`);
|
||||
return ident => regExp.test(ident);
|
||||
}
|
||||
if(item && typeof item === "object" && typeof item.test === "function")
|
||||
return ident => item.test(ident);
|
||||
if(typeof item === "function")
|
||||
return item;
|
||||
});
|
||||
const maxModules = optionOrFallback(options.maxModules, forToString ? 15 : Infinity);
|
||||
const sortModules = optionOrFallback(options.modulesSort, "id");
|
||||
const sortChunks = optionOrFallback(options.chunksSort, "id");
|
||||
const sortAssets = optionOrFallback(options.assetsSort, "");
|
||||
|
||||
if(!showCachedModules) {
|
||||
excludeModules.push((ident, module) => !module.built);
|
||||
}
|
||||
|
||||
const createModuleFilter = () => {
|
||||
let i = 0;
|
||||
return module => {
|
||||
if(!showCachedModules && !module.built) {
|
||||
return false;
|
||||
}
|
||||
if(excludeModules.length > 0) {
|
||||
const ident = requestShortener.shorten(module.resource);
|
||||
const excluded = excludeModules.some(regExp => regExp.test(ident));
|
||||
const excluded = excludeModules.some(fn => fn(ident, module));
|
||||
if(excluded)
|
||||
return false;
|
||||
}
|
||||
|
@ -699,6 +710,35 @@ class Stats {
|
|||
}
|
||||
};
|
||||
|
||||
const processModulesList = (obj, prefix) => {
|
||||
if(obj.modules) {
|
||||
obj.modules.forEach(module => {
|
||||
colors.normal(prefix);
|
||||
if(module.id < 1000) colors.normal(" ");
|
||||
if(module.id < 100) colors.normal(" ");
|
||||
if(module.id < 10) colors.normal(" ");
|
||||
colors.normal("[");
|
||||
colors.normal(module.id);
|
||||
colors.normal("] ");
|
||||
colors.bold(module.name || module.identifier);
|
||||
processModuleAttributes(module);
|
||||
newline();
|
||||
processModuleContent(module, prefix + " ");
|
||||
});
|
||||
if(obj.filteredModules > 0) {
|
||||
colors.normal(prefix);
|
||||
colors.normal(" ");
|
||||
if(obj.modules.length > 0)
|
||||
colors.normal(" + ");
|
||||
colors.normal(obj.filteredModules);
|
||||
if(obj.modules.length > 0)
|
||||
colors.normal(" hidden");
|
||||
colors.normal(obj.filteredModules !== 1 ? " modules" : " module");
|
||||
newline();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
if(obj.chunks) {
|
||||
obj.chunks.forEach(chunk => {
|
||||
colors.normal("chunk ");
|
||||
|
@ -760,45 +800,11 @@ class Stats {
|
|||
newline();
|
||||
});
|
||||
}
|
||||
if(chunk.modules) {
|
||||
chunk.modules.forEach(module => {
|
||||
colors.normal(" ");
|
||||
if(module.id < 1000) colors.normal(" ");
|
||||
if(module.id < 100) colors.normal(" ");
|
||||
if(module.id < 10) colors.normal(" ");
|
||||
colors.normal("[");
|
||||
colors.normal(module.id);
|
||||
colors.normal("] ");
|
||||
colors.bold(module.name);
|
||||
processModuleAttributes(module);
|
||||
newline();
|
||||
processModuleContent(module, " ");
|
||||
});
|
||||
if(chunk.filteredModules > 0) {
|
||||
colors.normal(` + ${chunk.filteredModules} hidden modules`);
|
||||
newline();
|
||||
}
|
||||
}
|
||||
processModulesList(chunk, " ");
|
||||
});
|
||||
}
|
||||
if(obj.modules) {
|
||||
obj.modules.forEach(module => {
|
||||
if(module.id < 1000) colors.normal(" ");
|
||||
if(module.id < 100) colors.normal(" ");
|
||||
if(module.id < 10) colors.normal(" ");
|
||||
colors.normal("[");
|
||||
colors.normal(module.id);
|
||||
colors.normal("] ");
|
||||
colors.bold(module.name || module.identifier);
|
||||
processModuleAttributes(module);
|
||||
newline();
|
||||
processModuleContent(module, " ");
|
||||
});
|
||||
if(obj.filteredModules > 0) {
|
||||
colors.normal(` + ${obj.filteredModules} hidden modules`);
|
||||
newline();
|
||||
}
|
||||
}
|
||||
|
||||
processModulesList(obj, "");
|
||||
|
||||
if(obj._showWarnings && obj.warnings) {
|
||||
obj.warnings.forEach(warning => {
|
||||
|
@ -841,53 +847,63 @@ class Stats {
|
|||
}
|
||||
|
||||
static presetToOptions(name) {
|
||||
//Accepted values: none, errors-only, minimal, normal, verbose
|
||||
//Any other falsy value will behave as 'none', truthy values as 'normal'
|
||||
const pn = (typeof name === "string") && name.toLowerCase() || name;
|
||||
if(pn === "none" || !pn) {
|
||||
return {
|
||||
hash: false,
|
||||
version: false,
|
||||
timings: false,
|
||||
assets: false,
|
||||
entrypoints: false,
|
||||
chunks: false,
|
||||
chunkModules: false,
|
||||
modules: false,
|
||||
reasons: false,
|
||||
depth: false,
|
||||
usedExports: false,
|
||||
providedExports: false,
|
||||
optimizationBailout: false,
|
||||
children: false,
|
||||
source: false,
|
||||
errors: false,
|
||||
errorDetails: false,
|
||||
warnings: false,
|
||||
publicPath: false,
|
||||
performance: false
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
hash: pn !== "errors-only" && pn !== "minimal",
|
||||
version: pn === "verbose",
|
||||
timings: pn !== "errors-only" && pn !== "minimal",
|
||||
assets: pn === "verbose",
|
||||
entrypoints: pn === "verbose",
|
||||
chunks: pn !== "errors-only",
|
||||
chunkModules: pn === "verbose",
|
||||
//warnings: pn !== "errors-only",
|
||||
errorDetails: pn !== "errors-only" && pn !== "minimal",
|
||||
reasons: pn === "verbose",
|
||||
depth: pn === "verbose",
|
||||
usedExports: pn === "verbose",
|
||||
providedExports: pn === "verbose",
|
||||
optimizationBailout: pn === "verbose",
|
||||
colors: true,
|
||||
performance: true
|
||||
};
|
||||
// Accepted values: none, errors-only, minimal, normal, detailed, verbose
|
||||
// Any other falsy value will behave as 'none', truthy values as 'normal'
|
||||
const pn = (typeof name === "string") && name.toLowerCase() || name || "none";
|
||||
switch(pn) {
|
||||
case "none":
|
||||
return {
|
||||
all: false
|
||||
};
|
||||
case "verbose":
|
||||
return {
|
||||
entrypoints: true,
|
||||
modules: false,
|
||||
chunks: true,
|
||||
chunkModules: true,
|
||||
chunkOrigins: true,
|
||||
depth: true,
|
||||
reasons: true,
|
||||
usedExports: true,
|
||||
providedExports: true,
|
||||
optimizationBailout: true,
|
||||
errorDetails: true,
|
||||
publicPath: true,
|
||||
exclude: () => false,
|
||||
maxModules: Infinity,
|
||||
};
|
||||
case "detailed":
|
||||
return {
|
||||
entrypoints: true,
|
||||
chunks: true,
|
||||
chunkModules: false,
|
||||
chunkOrigins: true,
|
||||
depth: true,
|
||||
usedExports: true,
|
||||
providedExports: true,
|
||||
optimizationBailout: true,
|
||||
errorDetails: true,
|
||||
publicPath: true,
|
||||
exclude: () => false,
|
||||
maxModules: Infinity,
|
||||
};
|
||||
case "minimal":
|
||||
return {
|
||||
all: false,
|
||||
modules: true,
|
||||
maxModules: 0,
|
||||
errors: true,
|
||||
warnings: true,
|
||||
};
|
||||
case "errors-only":
|
||||
return {
|
||||
all: false,
|
||||
errors: true,
|
||||
moduleTrace: true,
|
||||
};
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static getChildOptions(options, idx) {
|
||||
|
|
|
@ -1035,6 +1035,7 @@
|
|||
"errors-only",
|
||||
"minimal",
|
||||
"normal",
|
||||
"detailed",
|
||||
"verbose"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ function getTestSpecificArguments(testDirectory) {
|
|||
try {
|
||||
return loadOptsFile(path.join(testDirectory, "test.opts"));
|
||||
} catch(e) {
|
||||
return [];
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ describe("BinTestCases", function() {
|
|||
|
||||
category.tests.forEach(function(testName) {
|
||||
const testDirectory = path.join(casesPath, category.name, testName);
|
||||
const testArgs = defaultArgs.concat(getTestSpecificArguments(testDirectory));
|
||||
const testArgs = getTestSpecificArguments(testDirectory) || defaultArgs;
|
||||
const testAssertions = require(path.join(testDirectory, "test.js"));
|
||||
const outputPath = path.join(path.resolve(casesPath, "../js/bin"), category.name, testName);
|
||||
|
||||
|
|
|
@ -210,7 +210,6 @@ describe("MultiStats", () => {
|
|||
"(xyz890-compilation) xyz890-warning-1",
|
||||
"(xyz890-compilation) xyz890-warning-2"
|
||||
],
|
||||
hash: "abc123xyz890",
|
||||
children: [{
|
||||
warnings: ["abc123-warning"],
|
||||
errors: ["abc123-error"],
|
||||
|
|
|
@ -154,23 +154,7 @@ describe("Stats", () => {
|
|||
describe("Presets", () => {
|
||||
describe("presetToOptions", () => {
|
||||
it("returns correct object with 'Normal'", () => {
|
||||
Stats.presetToOptions("Normal").should.eql({
|
||||
assets: false,
|
||||
version: false,
|
||||
timings: true,
|
||||
hash: true,
|
||||
entrypoints: false,
|
||||
chunks: true,
|
||||
chunkModules: false,
|
||||
errorDetails: true,
|
||||
reasons: false,
|
||||
depth: false,
|
||||
usedExports: false,
|
||||
providedExports: false,
|
||||
optimizationBailout: false,
|
||||
colors: true,
|
||||
performance: true
|
||||
});
|
||||
Stats.presetToOptions("Normal").should.eql({});
|
||||
});
|
||||
it("truthy values behave as 'normal'", () => {
|
||||
const normalOpts = Stats.presetToOptions("normal");
|
||||
|
@ -183,26 +167,7 @@ describe("Stats", () => {
|
|||
});
|
||||
it("returns correct object with 'none'", () => {
|
||||
Stats.presetToOptions("none").should.eql({
|
||||
hash: false,
|
||||
version: false,
|
||||
timings: false,
|
||||
assets: false,
|
||||
entrypoints: false,
|
||||
chunks: false,
|
||||
chunkModules: false,
|
||||
modules: false,
|
||||
reasons: false,
|
||||
depth: false,
|
||||
usedExports: false,
|
||||
providedExports: false,
|
||||
optimizationBailout: false,
|
||||
children: false,
|
||||
source: false,
|
||||
errors: false,
|
||||
errorDetails: false,
|
||||
warnings: false,
|
||||
publicPath: false,
|
||||
performance: false
|
||||
all: false
|
||||
});
|
||||
});
|
||||
it("falsy values behave as 'none'", () => {
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
--entry ./index.js
|
||||
--entry ./a.js
|
||||
--config ./webpack.config.js
|
||||
--output-filename [name].js
|
||||
--output-chunk-filename [id].chunk.js
|
||||
--target async-node
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
--entry foo=./a.js
|
||||
--entry ./index.js
|
||||
--config ./webpack.config.js
|
||||
--output-filename [name].js
|
||||
--output-chunk-filename [id].chunk.js
|
||||
--target async-node
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
./a.js
|
||||
--entry ./index.js
|
||||
--config ./webpack.config.js
|
||||
--output-filename [name].js
|
||||
--output-chunk-filename [id].chunk.js
|
||||
--target async-node
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
--entry ./index.js
|
||||
--config ./webpack.config.js
|
||||
--output-filename [name].js
|
||||
--output-chunk-filename [id].chunk.js
|
||||
--target async-node
|
||||
--plugin webpack/lib/optimize/UglifyJsPlugin
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
module.exports = "foo";
|
|
@ -0,0 +1,8 @@
|
|||
"use strict";
|
||||
|
||||
module.exports = function testAssertions(code, stdout, stderr) {
|
||||
stderr.should.be.empty();
|
||||
code.should.be.eql(0);
|
||||
|
||||
stdout.should.be.empty();
|
||||
};
|
|
@ -0,0 +1,5 @@
|
|||
--entry ./index.js
|
||||
--output-filename [name].js
|
||||
--output-chunk-filename [id].chunk.js
|
||||
--target async-node
|
||||
--display none
|
|
@ -0,0 +1 @@
|
|||
module.exports = "foo";
|
|
@ -0,0 +1,8 @@
|
|||
"use strict";
|
||||
|
||||
module.exports = function testAssertions(code, stdout, stderr) {
|
||||
code.should.be.eql(0);
|
||||
|
||||
stdout.should.be.empty();
|
||||
stderr.should.be.empty();
|
||||
};
|
|
@ -0,0 +1,6 @@
|
|||
var path = require("path");
|
||||
|
||||
module.exports = {
|
||||
entry: path.resolve(__dirname, "./index"),
|
||||
stats: "none"
|
||||
};
|
|
@ -8,9 +8,10 @@ module.exports = function testAssertions(code, stdout, stderr) {
|
|||
stdout[1].should.containEql("Version: ");
|
||||
stdout[2].should.containEql("Time: ");
|
||||
stdout[4].should.containEql("\u001b[1m\u001b[32mnull.js\u001b[39m\u001b[22m");
|
||||
stdout[5].should.not.containEql("./index.js");
|
||||
stdout[5].should.not.containEql("[built]");
|
||||
stdout[5].should.containEql("1 hidden module");
|
||||
stdout[5].should.containEql("chunk");
|
||||
stdout[6].should.not.containEql("./index.js");
|
||||
stdout[6].should.not.containEql("[built]");
|
||||
stdout[6].should.containEql("1 module");
|
||||
|
||||
stderr.should.be.empty();
|
||||
};
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
--entry ./index.js
|
||||
--config ./webpack.config.js
|
||||
--output-filename [name].js
|
||||
--output-chunk-filename [id].chunk.js
|
||||
--target async-node
|
||||
--watch
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
--entry ./index.js
|
||||
--config ./webpack.config.js
|
||||
--output-filename [name].js
|
||||
--output-chunk-filename [id].chunk.js
|
||||
--target async-node
|
||||
--watch
|
||||
|
|
|
@ -16,18 +16,11 @@ module.exports = {
|
|||
recordsInputPath: __dirname + "/input-records.json",
|
||||
//recordsOutputPath: __dirname + "/records.json",
|
||||
stats: {
|
||||
reasons: false,
|
||||
chunks: true,
|
||||
chunkModules: true,
|
||||
chunkOrigins: true,
|
||||
entrypoints: true,
|
||||
modules: false,
|
||||
cached: true,
|
||||
cachedAssets: true,
|
||||
source: true,
|
||||
errorDetails: true,
|
||||
publicPath: true,
|
||||
excludeModules: [
|
||||
/e\.js/
|
||||
]
|
||||
publicPath: true
|
||||
}
|
||||
};
|
||||
|
|
|
@ -16,18 +16,11 @@ module.exports = {
|
|||
recordsInputPath: __dirname + "/input-records.json",
|
||||
//recordsOutputPath: __dirname + "/records.json",
|
||||
stats: {
|
||||
reasons: false,
|
||||
chunks: true,
|
||||
chunkModules: true,
|
||||
chunkOrigins: true,
|
||||
entrypoints: true,
|
||||
modules: false,
|
||||
cached: true,
|
||||
cachedAssets: true,
|
||||
source: true,
|
||||
errorDetails: true,
|
||||
publicPath: true,
|
||||
excludeModules: [
|
||||
/e\.js/
|
||||
]
|
||||
publicPath: true
|
||||
}
|
||||
};
|
||||
|
|
|
@ -29,21 +29,4 @@ chunk {3} bundle.js (main) 73 bytes [entry] [rendered]
|
|||
cjs require ./a [5] (webpack)/test/statsCases/chunks/index.js 1:0-14
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
[5] (webpack)/test/statsCases/chunks/index.js 51 bytes {3} [built]
|
||||
factory:Xms building:Xms = Xms
|
||||
[0] (webpack)/test/statsCases/chunks/a.js 22 bytes {3} [built]
|
||||
cjs require ./a [5] (webpack)/test/statsCases/chunks/index.js 1:0-14
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
[1] (webpack)/test/statsCases/chunks/b.js 22 bytes {1} [built]
|
||||
amd require ./b [5] (webpack)/test/statsCases/chunks/index.js 2:0-16
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
[2] (webpack)/test/statsCases/chunks/c.js 54 bytes {0} [built]
|
||||
amd require ./c [5] (webpack)/test/statsCases/chunks/index.js 3:0-16
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
[3] (webpack)/test/statsCases/chunks/d.js 22 bytes {2} [built]
|
||||
require.ensure item ./d [2] (webpack)/test/statsCases/chunks/c.js 1:0-52
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
[4] (webpack)/test/statsCases/chunks/e.js 22 bytes {2} [built]
|
||||
require.ensure item ./e [2] (webpack)/test/statsCases/chunks/c.js 1:0-52
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
[5] (webpack)/test/statsCases/chunks/index.js 51 bytes {3} [built]
|
||||
factory:Xms building:Xms = Xms
|
||||
factory:Xms building:Xms = Xms
|
|
@ -6,16 +6,10 @@ module.exports = {
|
|||
profile: true,
|
||||
stats: {
|
||||
reasons: true,
|
||||
chunks: true,
|
||||
chunkModules: true,
|
||||
chunkOrigins: true,
|
||||
modules: true,
|
||||
cached: true,
|
||||
cachedAssets: true,
|
||||
source: true,
|
||||
errorDetails: true,
|
||||
publicPath: true,
|
||||
excludeModules: [
|
||||
/e\.js/
|
||||
]
|
||||
modules: false,
|
||||
publicPath: true
|
||||
}
|
||||
};
|
||||
|
|
|
@ -2,5 +2,4 @@ Hash: 6c781fe6bf412ba6435b
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
main.js 2.47 kB 0 [emitted] main
|
||||
chunk {0} main.js (main) 0 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/color-disabled/index.js 0 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/color-disabled/index.js 0 bytes {0} [built]
|
|
@ -2,5 +2,4 @@ Hash: <CLR=BOLD>6c781fe6bf412ba6435b</CLR>
|
|||
Time: <CLR=BOLD>X</CLR>ms
|
||||
<CLR=BOLD>Asset</CLR> <CLR=BOLD>Size</CLR> <CLR=BOLD>Chunks</CLR> <CLR=39,BOLD><CLR=22> <CLR=39,BOLD><CLR=22><CLR=BOLD>Chunk Names</CLR>
|
||||
<CLR=32>main.js</CLR> 2.47 kB <CLR=BOLD>0</CLR> <CLR=32>[emitted]</CLR> main
|
||||
chunk {<CLR=33>0</CLR>} <CLR=32>main.js</CLR> (main) 0 bytes<CLR=33> [entry]</CLR><CLR=32> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/color-enabled-custom/index.js</CLR> 0 bytes {<CLR=33>0</CLR>}<CLR=32> [built]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/color-enabled-custom/index.js</CLR> 0 bytes {<CLR=33>0</CLR>}<CLR=32> [built]</CLR>
|
|
@ -2,5 +2,4 @@ Hash: <CLR=BOLD>6c781fe6bf412ba6435b</CLR>
|
|||
Time: <CLR=BOLD>X</CLR>ms
|
||||
<CLR=BOLD>Asset</CLR> <CLR=BOLD>Size</CLR> <CLR=BOLD>Chunks</CLR> <CLR=39,BOLD><CLR=22> <CLR=39,BOLD><CLR=22><CLR=BOLD>Chunk Names</CLR>
|
||||
<CLR=32,BOLD>main.js</CLR> 2.47 kB <CLR=BOLD>0</CLR> <CLR=32,BOLD>[emitted]</CLR> main
|
||||
chunk {<CLR=33,BOLD>0</CLR>} <CLR=32,BOLD>main.js</CLR> (main) 0 bytes<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/color-enabled/index.js</CLR> 0 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/color-enabled/index.js</CLR> 0 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
|
@ -3,13 +3,11 @@ Time: Xms
|
|||
Asset Size Chunks Chunk Names
|
||||
entry-1.js 25 bytes 0 [emitted] entry-1
|
||||
vendor-1.js 6.76 kB 1 [emitted] vendor-1
|
||||
chunk {0} entry-1.js (entry-1) 0 bytes {1} [initial] [rendered]
|
||||
chunk {1} vendor-1.js (vendor-1) 329 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/a.js 22 bytes {1} [built]
|
||||
[1] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/b.js 22 bytes {1} [built]
|
||||
[2] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/c.js 22 bytes {1} [built]
|
||||
[3] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/d.js 22 bytes {1} [built]
|
||||
[4] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/e.js 22 bytes {1} [built]
|
||||
[5] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/f.js 22 bytes {1} [built]
|
||||
[6] multi ./modules/a ./modules/b ./modules/c 52 bytes {1} [built]
|
||||
[7] (webpack)/test/statsCases/commons-chunk-min-size-0/entry-1.js 145 bytes {1} [built]
|
||||
[0] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/a.js 22 bytes {1} [built]
|
||||
[1] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/b.js 22 bytes {1} [built]
|
||||
[2] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/c.js 22 bytes {1} [built]
|
||||
[3] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/d.js 22 bytes {1} [built]
|
||||
[4] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/e.js 22 bytes {1} [built]
|
||||
[5] (webpack)/test/statsCases/commons-chunk-min-size-0/modules/f.js 22 bytes {1} [built]
|
||||
[6] multi ./modules/a ./modules/b ./modules/c 52 bytes {1} [built]
|
||||
[7] (webpack)/test/statsCases/commons-chunk-min-size-0/entry-1.js 145 bytes {1} [built]
|
|
@ -3,16 +3,11 @@ Time: Xms
|
|||
Asset Size Chunks Chunk Names
|
||||
entry-1.js 3.11 kB 0 [emitted] entry-1
|
||||
vendor-1.js 2.85 kB 1 [emitted] vendor-1
|
||||
chunk {0} entry-1.js (entry-1) 277 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/a.js 22 bytes {0} {1} [built]
|
||||
[1] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/b.js 22 bytes {0} {1} [built]
|
||||
[2] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/c.js 22 bytes {0} {1} [built]
|
||||
[3] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/entry-1.js 145 bytes {0} [built]
|
||||
[4] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/d.js 22 bytes {0} [built]
|
||||
[5] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/e.js 22 bytes {0} [built]
|
||||
[6] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/f.js 22 bytes {0} [built]
|
||||
chunk {1} vendor-1.js (vendor-1) 118 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/a.js 22 bytes {0} {1} [built]
|
||||
[1] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/b.js 22 bytes {0} {1} [built]
|
||||
[2] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/c.js 22 bytes {0} {1} [built]
|
||||
[7] multi ./modules/a ./modules/b ./modules/c 52 bytes {1} [built]
|
||||
[0] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/a.js 22 bytes {0} {1} [built]
|
||||
[1] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/b.js 22 bytes {0} {1} [built]
|
||||
[2] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/c.js 22 bytes {0} {1} [built]
|
||||
[3] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/entry-1.js 145 bytes {0} [built]
|
||||
[4] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/d.js 22 bytes {0} [built]
|
||||
[5] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/e.js 22 bytes {0} [built]
|
||||
[6] (webpack)/test/statsCases/commons-chunk-min-size-Infinity/modules/f.js 22 bytes {0} [built]
|
||||
[7] multi ./modules/a ./modules/b ./modules/c 52 bytes {1} [built]
|
|
@ -4,12 +4,10 @@ Child
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
main.js 2.52 kB 0 [emitted] main
|
||||
chunk {0} main.js (main) 24 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/define-plugin/index.js 24 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/define-plugin/index.js 24 bytes {0} [built]
|
||||
Child
|
||||
Hash: eb3ff8e5a88b9234d04f
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
main.js 2.52 kB 0 [emitted] main
|
||||
chunk {0} main.js (main) 24 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/define-plugin/index.js 24 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/define-plugin/index.js 24 bytes {0} [built]
|
|
@ -2,7 +2,6 @@ Hash: 7ab067a6a9fc61623ae0
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.74 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 132 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/exclude-with-loader/a.txt 43 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/exclude-with-loader/index.js 46 bytes {0} [built]
|
||||
+ 1 hidden modules
|
||||
[0] (webpack)/test/statsCases/exclude-with-loader/a.txt 43 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/exclude-with-loader/index.js 46 bytes {0} [built]
|
||||
+ 1 hidden module
|
|
@ -2,6 +2,5 @@ Hash: 86950abf8dcf924d9cc1
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
main.js 2.61 kB 0 [emitted] main
|
||||
chunk {0} main.js (main) 59 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/external/index.js 17 bytes {0} [built]
|
||||
[1] external "test" 42 bytes {0} [not cacheable]
|
||||
[0] (webpack)/test/statsCases/external/index.js 17 bytes {0} [built]
|
||||
[1] external "test" 42 bytes {0} [not cacheable]
|
|
@ -4,7 +4,6 @@ Child
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
|
||||
WARNING in bundle.js from UglifyJs
|
||||
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
|
||||
|
@ -23,43 +22,36 @@ Child
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
Child
|
||||
Hash: e4d2b189bb205589ee1e
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
Child
|
||||
Hash: e4d2b189bb205589ee1e
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
Child
|
||||
Hash: e4d2b189bb205589ee1e
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
Child
|
||||
Hash: e4d2b189bb205589ee1e
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
Child
|
||||
Hash: e4d2b189bb205589ee1e
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
Child
|
||||
Hash: e4d2b189bb205589ee1e
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
|
||||
WARNING in bundle.js from UglifyJs
|
||||
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
|
||||
|
@ -78,7 +70,6 @@ Child
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
|
||||
WARNING in bundle.js from UglifyJs
|
||||
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
|
||||
|
@ -97,7 +88,6 @@ Child
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
|
||||
WARNING in bundle.js from UglifyJs
|
||||
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
|
||||
|
@ -116,7 +106,6 @@ Child
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
|
||||
WARNING in bundle.js from UglifyJs
|
||||
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
|
||||
|
@ -135,7 +124,6 @@ Child
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
|
||||
WARNING in bundle.js from UglifyJs
|
||||
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
|
||||
|
@ -154,7 +142,6 @@ Child
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
|
||||
WARNING in bundle.js from UglifyJs
|
||||
Dropping unused function someRemoteUnUsedFunction1 [./a.js:3,0]
|
||||
|
|
|
@ -2,20 +2,19 @@ Hash: 8f4b66734cb63e0581be
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
main.js 5.79 kB 0 [emitted] main
|
||||
chunk {0} main.js (main) 1.18 kB [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/max-modules-default/a.js?1 33 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/max-modules-default/a.js?10 33 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/max-modules-default/a.js?2 33 bytes {0} [built]
|
||||
[3] (webpack)/test/statsCases/max-modules-default/a.js?3 33 bytes {0} [built]
|
||||
[4] (webpack)/test/statsCases/max-modules-default/a.js?4 33 bytes {0} [built]
|
||||
[5] (webpack)/test/statsCases/max-modules-default/a.js?5 33 bytes {0} [built]
|
||||
[6] (webpack)/test/statsCases/max-modules-default/a.js?6 33 bytes {0} [built]
|
||||
[7] (webpack)/test/statsCases/max-modules-default/a.js?7 33 bytes {0} [built]
|
||||
[8] (webpack)/test/statsCases/max-modules-default/a.js?8 33 bytes {0} [built]
|
||||
[9] (webpack)/test/statsCases/max-modules-default/a.js?9 33 bytes {0} [built]
|
||||
[20] (webpack)/test/statsCases/max-modules-default/c.js?1 33 bytes {0} [built]
|
||||
[21] (webpack)/test/statsCases/max-modules-default/c.js?10 33 bytes {0} [built]
|
||||
[22] (webpack)/test/statsCases/max-modules-default/c.js?2 33 bytes {0} [built]
|
||||
[23] (webpack)/test/statsCases/max-modules-default/c.js?3 33 bytes {0} [built]
|
||||
[30] (webpack)/test/statsCases/max-modules-default/index.js 181 bytes {0} [built]
|
||||
+ 16 hidden modules
|
||||
[0] (webpack)/test/statsCases/max-modules-default/a.js?1 33 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/max-modules-default/a.js?10 33 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/max-modules-default/a.js?2 33 bytes {0} [built]
|
||||
[3] (webpack)/test/statsCases/max-modules-default/a.js?3 33 bytes {0} [built]
|
||||
[4] (webpack)/test/statsCases/max-modules-default/a.js?4 33 bytes {0} [built]
|
||||
[5] (webpack)/test/statsCases/max-modules-default/a.js?5 33 bytes {0} [built]
|
||||
[6] (webpack)/test/statsCases/max-modules-default/a.js?6 33 bytes {0} [built]
|
||||
[7] (webpack)/test/statsCases/max-modules-default/a.js?7 33 bytes {0} [built]
|
||||
[8] (webpack)/test/statsCases/max-modules-default/a.js?8 33 bytes {0} [built]
|
||||
[9] (webpack)/test/statsCases/max-modules-default/a.js?9 33 bytes {0} [built]
|
||||
[20] (webpack)/test/statsCases/max-modules-default/c.js?1 33 bytes {0} [built]
|
||||
[21] (webpack)/test/statsCases/max-modules-default/c.js?10 33 bytes {0} [built]
|
||||
[22] (webpack)/test/statsCases/max-modules-default/c.js?2 33 bytes {0} [built]
|
||||
[23] (webpack)/test/statsCases/max-modules-default/c.js?3 33 bytes {0} [built]
|
||||
[30] (webpack)/test/statsCases/max-modules-default/index.js 181 bytes {0} [built]
|
||||
+ 16 hidden modules
|
|
@ -2,25 +2,24 @@ Hash: 8f4b66734cb63e0581be
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
main.js 5.79 kB 0 [emitted] main
|
||||
chunk {0} main.js (main) 1.18 kB [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/max-modules/a.js?1 33 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/max-modules/a.js?10 33 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/max-modules/a.js?2 33 bytes {0} [built]
|
||||
[3] (webpack)/test/statsCases/max-modules/a.js?3 33 bytes {0} [built]
|
||||
[4] (webpack)/test/statsCases/max-modules/a.js?4 33 bytes {0} [built]
|
||||
[5] (webpack)/test/statsCases/max-modules/a.js?5 33 bytes {0} [built]
|
||||
[6] (webpack)/test/statsCases/max-modules/a.js?6 33 bytes {0} [built]
|
||||
[7] (webpack)/test/statsCases/max-modules/a.js?7 33 bytes {0} [built]
|
||||
[8] (webpack)/test/statsCases/max-modules/a.js?8 33 bytes {0} [built]
|
||||
[9] (webpack)/test/statsCases/max-modules/a.js?9 33 bytes {0} [built]
|
||||
[20] (webpack)/test/statsCases/max-modules/c.js?1 33 bytes {0} [built]
|
||||
[21] (webpack)/test/statsCases/max-modules/c.js?10 33 bytes {0} [built]
|
||||
[22] (webpack)/test/statsCases/max-modules/c.js?2 33 bytes {0} [built]
|
||||
[23] (webpack)/test/statsCases/max-modules/c.js?3 33 bytes {0} [built]
|
||||
[24] (webpack)/test/statsCases/max-modules/c.js?4 33 bytes {0} [built]
|
||||
[25] (webpack)/test/statsCases/max-modules/c.js?5 33 bytes {0} [built]
|
||||
[26] (webpack)/test/statsCases/max-modules/c.js?6 33 bytes {0} [built]
|
||||
[27] (webpack)/test/statsCases/max-modules/c.js?7 33 bytes {0} [built]
|
||||
[28] (webpack)/test/statsCases/max-modules/c.js?8 33 bytes {0} [built]
|
||||
[30] (webpack)/test/statsCases/max-modules/index.js 181 bytes {0} [built]
|
||||
+ 11 hidden modules
|
||||
[0] (webpack)/test/statsCases/max-modules/a.js?1 33 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/max-modules/a.js?10 33 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/max-modules/a.js?2 33 bytes {0} [built]
|
||||
[3] (webpack)/test/statsCases/max-modules/a.js?3 33 bytes {0} [built]
|
||||
[4] (webpack)/test/statsCases/max-modules/a.js?4 33 bytes {0} [built]
|
||||
[5] (webpack)/test/statsCases/max-modules/a.js?5 33 bytes {0} [built]
|
||||
[6] (webpack)/test/statsCases/max-modules/a.js?6 33 bytes {0} [built]
|
||||
[7] (webpack)/test/statsCases/max-modules/a.js?7 33 bytes {0} [built]
|
||||
[8] (webpack)/test/statsCases/max-modules/a.js?8 33 bytes {0} [built]
|
||||
[9] (webpack)/test/statsCases/max-modules/a.js?9 33 bytes {0} [built]
|
||||
[20] (webpack)/test/statsCases/max-modules/c.js?1 33 bytes {0} [built]
|
||||
[21] (webpack)/test/statsCases/max-modules/c.js?10 33 bytes {0} [built]
|
||||
[22] (webpack)/test/statsCases/max-modules/c.js?2 33 bytes {0} [built]
|
||||
[23] (webpack)/test/statsCases/max-modules/c.js?3 33 bytes {0} [built]
|
||||
[24] (webpack)/test/statsCases/max-modules/c.js?4 33 bytes {0} [built]
|
||||
[25] (webpack)/test/statsCases/max-modules/c.js?5 33 bytes {0} [built]
|
||||
[26] (webpack)/test/statsCases/max-modules/c.js?6 33 bytes {0} [built]
|
||||
[27] (webpack)/test/statsCases/max-modules/c.js?7 33 bytes {0} [built]
|
||||
[28] (webpack)/test/statsCases/max-modules/c.js?8 33 bytes {0} [built]
|
||||
[30] (webpack)/test/statsCases/max-modules/index.js 181 bytes {0} [built]
|
||||
+ 11 hidden modules
|
|
@ -2,8 +2,7 @@ Hash: 6e950f2e83663cb6e9a6
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
main.js 2.65 kB 0 [emitted] main
|
||||
chunk {0} main.js (main) 25 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/module-trace-disabled-in-error/index.js 25 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/module-trace-disabled-in-error/index.js 25 bytes {0} [built]
|
||||
|
||||
ERROR in (webpack)/test/statsCases/module-trace-disabled-in-error/index.js
|
||||
Module not found: Error: Can't resolve 'does-not-exist' in 'Xdir/module-trace-disabled-in-error'
|
|
@ -2,8 +2,7 @@ Hash: 6e950f2e83663cb6e9a6
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
main.js 2.65 kB 0 [emitted] main
|
||||
chunk {0} main.js (main) 25 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/module-trace-enabled-in-error/index.js 25 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/module-trace-enabled-in-error/index.js 25 bytes {0} [built]
|
||||
|
||||
ERROR in (webpack)/test/statsCases/module-trace-enabled-in-error/index.js
|
||||
Module not found: Error: Can't resolve 'does-not-exist' in 'Xdir/module-trace-enabled-in-error'
|
||||
|
|
|
@ -4,9 +4,6 @@ Time: Xms
|
|||
chunk-containing-__a_js.js 266 bytes chunk-containing-__a_js [emitted]
|
||||
chunk-containing-__b_js.js 123 bytes chunk-containing-__b_js [emitted]
|
||||
entry.js 5.99 kB entry [emitted] entry
|
||||
chunk {chunk-containing-__a_js} chunk-containing-__a_js.js 37 bytes {entry} [rendered]
|
||||
[2] (webpack)/test/statsCases/named-chunks-plugin-async/modules/a.js 37 bytes {chunk-containing-__a_js} [built]
|
||||
chunk {chunk-containing-__b_js} chunk-containing-__b_js.js 22 bytes {chunk-containing-__a_js} {entry} [rendered]
|
||||
[0] (webpack)/test/statsCases/named-chunks-plugin-async/modules/b.js 22 bytes {chunk-containing-__b_js} [built]
|
||||
chunk {entry} entry.js (entry) 47 bytes [entry] [rendered]
|
||||
[1] (webpack)/test/statsCases/named-chunks-plugin-async/entry.js 47 bytes {entry} [built]
|
||||
[0] (webpack)/test/statsCases/named-chunks-plugin-async/modules/b.js 22 bytes {chunk-containing-__b_js} [built]
|
||||
[1] (webpack)/test/statsCases/named-chunks-plugin-async/entry.js 47 bytes {entry} [built]
|
||||
[2] (webpack)/test/statsCases/named-chunks-plugin-async/modules/a.js 37 bytes {chunk-containing-__a_js} [built]
|
|
@ -4,11 +4,8 @@ Time: Xms
|
|||
entry.js 345 bytes entry [emitted] entry
|
||||
manifest.js 5.78 kB manifest [emitted] manifest
|
||||
vendor.js 397 bytes vendor [emitted] vendor
|
||||
chunk {entry} entry.js (entry) 94 bytes {vendor} [initial] [rendered]
|
||||
[./entry.js] (webpack)/test/statsCases/named-chunks-plugin/entry.js 72 bytes {entry} [built]
|
||||
[./modules/c.js] (webpack)/test/statsCases/named-chunks-plugin/modules/c.js 22 bytes {entry} [built]
|
||||
chunk {manifest} manifest.js (manifest) 0 bytes [entry] [rendered]
|
||||
chunk {vendor} vendor.js (vendor) 84 bytes {manifest} [initial] [rendered]
|
||||
[./modules/a.js] (webpack)/test/statsCases/named-chunks-plugin/modules/a.js 22 bytes {vendor} [built]
|
||||
[./modules/b.js] (webpack)/test/statsCases/named-chunks-plugin/modules/b.js 22 bytes {vendor} [built]
|
||||
[0] multi ./modules/a ./modules/b 40 bytes {vendor} [built]
|
||||
[0] multi ./modules/a ./modules/b 40 bytes {vendor} [built]
|
||||
[./entry.js] (webpack)/test/statsCases/named-chunks-plugin/entry.js 72 bytes {entry} [built]
|
||||
[./modules/a.js] (webpack)/test/statsCases/named-chunks-plugin/modules/a.js 22 bytes {vendor} [built]
|
||||
[./modules/b.js] (webpack)/test/statsCases/named-chunks-plugin/modules/b.js 22 bytes {vendor} [built]
|
||||
[./modules/c.js] (webpack)/test/statsCases/named-chunks-plugin/modules/c.js 22 bytes {entry} [built]
|
|
@ -2,6 +2,9 @@ module.exports = {
|
|||
entry: "./index",
|
||||
stats: {
|
||||
reasons: false,
|
||||
modules: false,
|
||||
chunks: true,
|
||||
chunkModules: true,
|
||||
chunkOrigins: true
|
||||
}
|
||||
};
|
||||
|
|
|
@ -5,13 +5,9 @@ Time: <CLR=BOLD>X</CLR>ms
|
|||
<CLR=32,BOLD>2.js</CLR> 204 bytes <CLR=BOLD>2</CLR> <CLR=32,BOLD>[emitted]</CLR>
|
||||
<CLR=32,BOLD>main.js</CLR> 306 kB <CLR=BOLD>3</CLR> <CLR=32,BOLD>[emitted]</CLR> main
|
||||
Entrypoint <CLR=BOLD>main</CLR> = <CLR=32,BOLD>main.js</CLR>
|
||||
chunk {<CLR=33,BOLD>0</CLR>} <CLR=32,BOLD>0.js</CLR> 54 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>1</CLR>} <CLR=32,BOLD>1.js</CLR> 22 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>2</CLR>} <CLR=32,BOLD>2.js</CLR> 44 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>3</CLR>} <CLR=32,BOLD>main.js</CLR> (main) 300 kB<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/performance-disabled/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
|
@ -5,16 +5,12 @@ Time: <CLR=BOLD>X</CLR>ms
|
|||
<CLR=32,BOLD>2.js</CLR> 204 bytes <CLR=BOLD>2</CLR> <CLR=32,BOLD>[emitted]</CLR>
|
||||
<CLR=33,BOLD>main.js</CLR> <CLR=33,BOLD>306 kB</CLR> <CLR=BOLD>3</CLR> <CLR=32,BOLD>[emitted]</CLR> <CLR=33,BOLD>[big]</CLR> main
|
||||
Entrypoint <CLR=BOLD>main</CLR> <CLR=33,BOLD>[big]</CLR> = <CLR=32,BOLD>main.js</CLR>
|
||||
chunk {<CLR=33,BOLD>0</CLR>} <CLR=32,BOLD>0.js</CLR> 54 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-error/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>1</CLR>} <CLR=32,BOLD>1.js</CLR> 22 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-error/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>2</CLR>} <CLR=32,BOLD>2.js</CLR> 44 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/performance-error/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/performance-error/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>3</CLR>} <CLR=32,BOLD>main.js</CLR> (main) 300 kB<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-error/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/performance-error/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-error/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-error/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-error/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/performance-error/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/performance-error/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/performance-error/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
|
||||
<CLR=31,BOLD>ERROR in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
|
||||
This can impact web performance.
|
||||
|
|
|
@ -4,15 +4,12 @@ Time: <CLR=BOLD>X</CLR>ms
|
|||
<CLR=33,BOLD>main.js</CLR> <CLR=33,BOLD>303 kB</CLR> <CLR=BOLD>1</CLR> <CLR=32,BOLD>[emitted]</CLR> <CLR=33,BOLD>[big]</CLR> main
|
||||
Entrypoint <CLR=BOLD>main</CLR> <CLR=33,BOLD>[big]</CLR> = <CLR=32,BOLD>main.js</CLR>
|
||||
Entrypoint <CLR=BOLD>sec</CLR> = <CLR=32,BOLD>sec.js</CLR>
|
||||
chunk {<CLR=33,BOLD>0</CLR>} <CLR=32,BOLD>sec.js</CLR> (sec) 114 bytes<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/b.js</CLR> 22 bytes {<CLR=33,BOLD>0</CLR>} {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/c.js</CLR> 22 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/d.js</CLR> 22 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/index2.js</CLR> 48 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>1</CLR>} <CLR=32,BOLD>main.js</CLR> (main) 300 kB<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/b.js</CLR> 22 bytes {<CLR=33,BOLD>0</CLR>} {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/a.js</CLR> 300 kB {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/index.js</CLR> 32 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/b.js</CLR> 22 bytes {<CLR=33,BOLD>0</CLR>} {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/a.js</CLR> 300 kB {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/c.js</CLR> 22 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/d.js</CLR> 22 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/index.js</CLR> 32 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/performance-no-async-chunks-shown/index2.js</CLR> 48 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
|
||||
<CLR=33,BOLD>WARNING in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
|
||||
This can impact web performance.
|
||||
|
|
|
@ -5,13 +5,9 @@ Time: <CLR=BOLD>X</CLR>ms
|
|||
<CLR=32,BOLD>2.js</CLR> 204 bytes <CLR=BOLD>2</CLR> <CLR=32,BOLD>[emitted]</CLR>
|
||||
<CLR=33,BOLD>main.js</CLR> <CLR=33,BOLD>306 kB</CLR> <CLR=BOLD>3</CLR> <CLR=32,BOLD>[emitted]</CLR> <CLR=33,BOLD>[big]</CLR> main
|
||||
Entrypoint <CLR=BOLD>main</CLR> <CLR=33,BOLD>[big]</CLR> = <CLR=32,BOLD>main.js</CLR>
|
||||
chunk {<CLR=33,BOLD>0</CLR>} <CLR=32,BOLD>0.js</CLR> 54 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>1</CLR>} <CLR=32,BOLD>1.js</CLR> 22 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>2</CLR>} <CLR=32,BOLD>2.js</CLR> 44 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>3</CLR>} <CLR=32,BOLD>main.js</CLR> (main) 300 kB<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/performance-no-hints/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
|
@ -4,12 +4,9 @@ Time: <CLR=BOLD>X</CLR>ms
|
|||
<CLR=33,BOLD>main.js</CLR> <CLR=33,BOLD>303 kB</CLR> <CLR=BOLD>1</CLR> <CLR=32,BOLD>[emitted]</CLR> <CLR=33,BOLD>[big]</CLR> main
|
||||
Entrypoint <CLR=BOLD>main</CLR> <CLR=33,BOLD>[big]</CLR> = <CLR=32,BOLD>main.js</CLR>
|
||||
Entrypoint <CLR=BOLD>sec</CLR> <CLR=33,BOLD>[big]</CLR> = <CLR=32,BOLD>sec.js</CLR>
|
||||
chunk {<CLR=33,BOLD>0</CLR>} <CLR=32,BOLD>sec.js</CLR> (sec) 300 kB<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-oversize-limit-error/a.js</CLR> 300 kB {<CLR=33,BOLD>0</CLR>} {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-oversize-limit-error/index2.js</CLR> 16 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>1</CLR>} <CLR=32,BOLD>main.js</CLR> (main) 300 kB<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-oversize-limit-error/a.js</CLR> 300 kB {<CLR=33,BOLD>0</CLR>} {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-oversize-limit-error/index.js</CLR> 16 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/performance-oversize-limit-error/a.js</CLR> 300 kB {<CLR=33,BOLD>0</CLR>} {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/performance-oversize-limit-error/index.js</CLR> 16 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/performance-oversize-limit-error/index2.js</CLR> 16 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
|
||||
<CLR=31,BOLD>ERROR in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
|
||||
This can impact web performance.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
module.exports = "a";
|
|
@ -0,0 +1 @@
|
|||
module.exports = "b";
|
|
@ -0,0 +1 @@
|
|||
require.ensure(["./d", "./e"], function(require) {});
|
|
@ -0,0 +1 @@
|
|||
module.exports = "d";
|
|
@ -0,0 +1 @@
|
|||
module.exports = "e";
|
|
@ -0,0 +1,22 @@
|
|||
Hash: c5a6856b43905ae12f17
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 238 bytes 0 [emitted]
|
||||
1.js 108 bytes 1 [emitted]
|
||||
2.js 204 bytes 2 [emitted]
|
||||
main.js 6.1 kB 3 [emitted] main
|
||||
Entrypoint main = main.js
|
||||
chunk {0} 0.js 54 bytes {3} [rendered]
|
||||
> [5] (webpack)/test/statsCases/preset-detailed/index.js 3:0-16
|
||||
chunk {1} 1.js 22 bytes {3} [rendered]
|
||||
> [5] (webpack)/test/statsCases/preset-detailed/index.js 2:0-16
|
||||
chunk {2} 2.js 44 bytes {0} [rendered]
|
||||
> [2] (webpack)/test/statsCases/preset-detailed/c.js 1:0-52
|
||||
chunk {3} main.js (main) 73 bytes [entry] [rendered]
|
||||
> main [5] (webpack)/test/statsCases/preset-detailed/index.js
|
||||
[0] (webpack)/test/statsCases/preset-detailed/a.js 22 bytes {3} [depth 1] [built]
|
||||
[1] (webpack)/test/statsCases/preset-detailed/b.js 22 bytes {1} [depth 1] [built]
|
||||
[2] (webpack)/test/statsCases/preset-detailed/c.js 54 bytes {0} [depth 1] [built]
|
||||
[3] (webpack)/test/statsCases/preset-detailed/d.js 22 bytes {2} [depth 2] [built]
|
||||
[4] (webpack)/test/statsCases/preset-detailed/e.js 22 bytes {2} [depth 2] [built]
|
||||
[5] (webpack)/test/statsCases/preset-detailed/index.js 51 bytes {3} [depth 0] [built]
|
|
@ -0,0 +1,3 @@
|
|||
require("./a");
|
||||
require(["./b"]);
|
||||
require(["./c"]);
|
|
@ -0,0 +1,4 @@
|
|||
module.exports = {
|
||||
entry: "./index",
|
||||
stats: "detailed"
|
||||
};
|
|
@ -1 +1 @@
|
|||
chunk {0} main.js (main) 0 bytes [entry] [rendered]
|
||||
1 module
|
|
@ -1,4 +1 @@
|
|||
chunk {0} 0.js 54 bytes {3} [rendered]
|
||||
chunk {1} 1.js 22 bytes {3} [rendered]
|
||||
chunk {2} 2.js 44 bytes {0} [rendered]
|
||||
chunk {3} main.js (main) 73 bytes [entry] [rendered]
|
||||
6 modules
|
|
@ -1,4 +1,5 @@
|
|||
Child minimal:
|
||||
chunk {0} main.js (main) 8 bytes [entry] [rendered]
|
||||
1 module
|
||||
Child verbose:
|
||||
Entrypoint main = main.js
|
||||
Entrypoint main = main.js
|
||||
[0] (webpack)/test/statsCases/preset-mixed-array/index.js 8 bytes {0} [built]
|
|
@ -8,16 +8,12 @@ Time: <CLR=BOLD>X</CLR>ms
|
|||
<CLR=32,BOLD>1.js.map</CLR> 250 bytes <CLR=BOLD>1</CLR> <CLR=32,BOLD>[emitted]</CLR>
|
||||
<CLR=32,BOLD>2.js.map</CLR> 405 bytes <CLR=BOLD>2</CLR> <CLR=32,BOLD>[emitted]</CLR>
|
||||
<CLR=32,BOLD>main.js.map</CLR> 1.81 MB <CLR=BOLD>3</CLR> <CLR=32,BOLD>[emitted]</CLR> main
|
||||
chunk {<CLR=33,BOLD>0</CLR>} <CLR=32,BOLD>0.js, 0.js.map</CLR> 54 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>1</CLR>} <CLR=32,BOLD>1.js, 1.js.map</CLR> 22 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>2</CLR>} <CLR=32,BOLD>2.js, 2.js.map</CLR> 44 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>3</CLR>} <CLR=32,BOLD>main.js, main.js.map</CLR> (main) 300 kB<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
|
||||
<CLR=33,BOLD>WARNING in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
|
||||
This can impact web performance.
|
||||
|
|
|
@ -4,16 +4,12 @@ Time: <CLR=BOLD>X</CLR>ms
|
|||
<CLR=32,BOLD>1.js</CLR> 108 bytes <CLR=BOLD>1</CLR> <CLR=32,BOLD>[emitted]</CLR>
|
||||
<CLR=32,BOLD>2.js</CLR> 204 bytes <CLR=BOLD>2</CLR> <CLR=32,BOLD>[emitted]</CLR>
|
||||
<CLR=33,BOLD>main.js</CLR> <CLR=33,BOLD>306 kB</CLR> <CLR=BOLD>3</CLR> <CLR=32,BOLD>[emitted]</CLR> <CLR=33,BOLD>[big]</CLR> main
|
||||
chunk {<CLR=33,BOLD>0</CLR>} <CLR=32,BOLD>0.js</CLR> 54 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>1</CLR>} <CLR=32,BOLD>1.js</CLR> 22 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>2</CLR>} <CLR=32,BOLD>2.js</CLR> 44 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [rendered]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
chunk {<CLR=33,BOLD>3</CLR>} <CLR=32,BOLD>main.js</CLR> (main) 300 kB<CLR=33,BOLD> [entry]</CLR><CLR=32,BOLD> [rendered]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[0] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/a.js</CLR> 300 kB {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[1] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/b.js</CLR> 22 bytes {<CLR=33,BOLD>1</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[2] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/c.js</CLR> 54 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[3] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/d.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[4] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/e.js</CLR> 22 bytes {<CLR=33,BOLD>2</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
[5] <CLR=BOLD>(webpack)/test/statsCases/preset-normal-performance/index.js</CLR> 52 bytes {<CLR=33,BOLD>3</CLR>}<CLR=32,BOLD> [built]</CLR>
|
||||
|
||||
<CLR=33,BOLD>WARNING in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
|
||||
This can impact web performance.
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
Hash: c5a6856b43905ae12f17
|
||||
Time: Xms
|
||||
chunk {0} 0.js 54 bytes {3} [rendered]
|
||||
chunk {1} 1.js 22 bytes {3} [rendered]
|
||||
chunk {2} 2.js 44 bytes {0} [rendered]
|
||||
chunk {3} main.js (main) 73 bytes [entry] [rendered]
|
||||
Asset Size Chunks Chunk Names
|
||||
0.js 238 bytes 0 [emitted]
|
||||
1.js 108 bytes 1 [emitted]
|
||||
2.js 204 bytes 2 [emitted]
|
||||
main.js 6.1 kB 3 [emitted] main
|
||||
[0] (webpack)/test/statsCases/preset-normal/a.js 22 bytes {3} [built]
|
||||
[1] (webpack)/test/statsCases/preset-normal/b.js 22 bytes {1} [built]
|
||||
[2] (webpack)/test/statsCases/preset-normal/c.js 54 bytes {0} [built]
|
||||
[3] (webpack)/test/statsCases/preset-normal/d.js 22 bytes {2} [built]
|
||||
[4] (webpack)/test/statsCases/preset-normal/e.js 22 bytes {2} [built]
|
||||
[5] (webpack)/test/statsCases/preset-normal/index.js 51 bytes {3} [built]
|
|
@ -7,14 +7,17 @@ Time: Xms
|
|||
main.js 6.1 kB 3 [emitted] main
|
||||
Entrypoint main = main.js
|
||||
chunk {0} 0.js 54 bytes {3} [rendered]
|
||||
> [5] (webpack)/test/statsCases/preset-verbose/index.js 3:0-16
|
||||
[2] (webpack)/test/statsCases/preset-verbose/c.js 54 bytes {0} [depth 1] [built]
|
||||
amd require ./c [5] (webpack)/test/statsCases/preset-verbose/index.js 3:0-16
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
chunk {1} 1.js 22 bytes {3} [rendered]
|
||||
> [5] (webpack)/test/statsCases/preset-verbose/index.js 2:0-16
|
||||
[1] (webpack)/test/statsCases/preset-verbose/b.js 22 bytes {1} [depth 1] [built]
|
||||
amd require ./b [5] (webpack)/test/statsCases/preset-verbose/index.js 2:0-16
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
chunk {2} 2.js 44 bytes {0} [rendered]
|
||||
> [2] (webpack)/test/statsCases/preset-verbose/c.js 1:0-52
|
||||
[3] (webpack)/test/statsCases/preset-verbose/d.js 22 bytes {2} [depth 2] [built]
|
||||
require.ensure item ./d [2] (webpack)/test/statsCases/preset-verbose/c.js 1:0-52
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
|
@ -22,6 +25,7 @@ chunk {2} 2.js 44 bytes {0} [rendered]
|
|||
require.ensure item ./e [2] (webpack)/test/statsCases/preset-verbose/c.js 1:0-52
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
chunk {3} main.js (main) 73 bytes [entry] [rendered]
|
||||
> main [5] (webpack)/test/statsCases/preset-verbose/index.js
|
||||
[0] (webpack)/test/statsCases/preset-verbose/a.js 22 bytes {3} [depth 1] [built]
|
||||
cjs require ./a [5] (webpack)/test/statsCases/preset-verbose/index.js 1:0-14
|
||||
[] -> factory:Xms building:Xms = Xms
|
||||
|
|
|
@ -2,7 +2,6 @@ Hash: 94e1d97f3e1cf37e753f
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.88 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 80 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/resolve-plugin-context/node_modules/xyz/index.js 0 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/resolve-plugin-context/index.js 48 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/resolve-plugin-context/node_modules/abc/index.js 16 bytes {0} [built]
|
||||
|
|
|
@ -2,25 +2,24 @@ Hash: 8f4b66734cb63e0581be
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
main.js 5.79 kB 0 [emitted] main
|
||||
chunk {0} main.js (main) 1.18 kB [entry] [rendered]
|
||||
[30] (webpack)/test/statsCases/reverse-sort-modules/index.js 181 bytes {0} [built]
|
||||
[28] (webpack)/test/statsCases/reverse-sort-modules/c.js?8 33 bytes {0} [built]
|
||||
[27] (webpack)/test/statsCases/reverse-sort-modules/c.js?7 33 bytes {0} [built]
|
||||
[26] (webpack)/test/statsCases/reverse-sort-modules/c.js?6 33 bytes {0} [built]
|
||||
[25] (webpack)/test/statsCases/reverse-sort-modules/c.js?5 33 bytes {0} [built]
|
||||
[24] (webpack)/test/statsCases/reverse-sort-modules/c.js?4 33 bytes {0} [built]
|
||||
[23] (webpack)/test/statsCases/reverse-sort-modules/c.js?3 33 bytes {0} [built]
|
||||
[22] (webpack)/test/statsCases/reverse-sort-modules/c.js?2 33 bytes {0} [built]
|
||||
[21] (webpack)/test/statsCases/reverse-sort-modules/c.js?10 33 bytes {0} [built]
|
||||
[20] (webpack)/test/statsCases/reverse-sort-modules/c.js?1 33 bytes {0} [built]
|
||||
[9] (webpack)/test/statsCases/reverse-sort-modules/a.js?9 33 bytes {0} [built]
|
||||
[8] (webpack)/test/statsCases/reverse-sort-modules/a.js?8 33 bytes {0} [built]
|
||||
[7] (webpack)/test/statsCases/reverse-sort-modules/a.js?7 33 bytes {0} [built]
|
||||
[6] (webpack)/test/statsCases/reverse-sort-modules/a.js?6 33 bytes {0} [built]
|
||||
[5] (webpack)/test/statsCases/reverse-sort-modules/a.js?5 33 bytes {0} [built]
|
||||
[4] (webpack)/test/statsCases/reverse-sort-modules/a.js?4 33 bytes {0} [built]
|
||||
[3] (webpack)/test/statsCases/reverse-sort-modules/a.js?3 33 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/reverse-sort-modules/a.js?2 33 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/reverse-sort-modules/a.js?10 33 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/reverse-sort-modules/a.js?1 33 bytes {0} [built]
|
||||
+ 11 hidden modules
|
||||
[30] (webpack)/test/statsCases/reverse-sort-modules/index.js 181 bytes {0} [built]
|
||||
[28] (webpack)/test/statsCases/reverse-sort-modules/c.js?8 33 bytes {0} [built]
|
||||
[27] (webpack)/test/statsCases/reverse-sort-modules/c.js?7 33 bytes {0} [built]
|
||||
[26] (webpack)/test/statsCases/reverse-sort-modules/c.js?6 33 bytes {0} [built]
|
||||
[25] (webpack)/test/statsCases/reverse-sort-modules/c.js?5 33 bytes {0} [built]
|
||||
[24] (webpack)/test/statsCases/reverse-sort-modules/c.js?4 33 bytes {0} [built]
|
||||
[23] (webpack)/test/statsCases/reverse-sort-modules/c.js?3 33 bytes {0} [built]
|
||||
[22] (webpack)/test/statsCases/reverse-sort-modules/c.js?2 33 bytes {0} [built]
|
||||
[21] (webpack)/test/statsCases/reverse-sort-modules/c.js?10 33 bytes {0} [built]
|
||||
[20] (webpack)/test/statsCases/reverse-sort-modules/c.js?1 33 bytes {0} [built]
|
||||
[9] (webpack)/test/statsCases/reverse-sort-modules/a.js?9 33 bytes {0} [built]
|
||||
[8] (webpack)/test/statsCases/reverse-sort-modules/a.js?8 33 bytes {0} [built]
|
||||
[7] (webpack)/test/statsCases/reverse-sort-modules/a.js?7 33 bytes {0} [built]
|
||||
[6] (webpack)/test/statsCases/reverse-sort-modules/a.js?6 33 bytes {0} [built]
|
||||
[5] (webpack)/test/statsCases/reverse-sort-modules/a.js?5 33 bytes {0} [built]
|
||||
[4] (webpack)/test/statsCases/reverse-sort-modules/a.js?4 33 bytes {0} [built]
|
||||
[3] (webpack)/test/statsCases/reverse-sort-modules/a.js?3 33 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/reverse-sort-modules/a.js?2 33 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/reverse-sort-modules/a.js?10 33 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/reverse-sort-modules/a.js?1 33 bytes {0} [built]
|
||||
+ 11 hidden modules
|
|
@ -5,23 +5,25 @@ Child
|
|||
Asset Size Chunks Chunk Names
|
||||
c7ab11336573e45dc51e.js 2.62 kB 0 [emitted] main
|
||||
c815cf440254d4f3bba4e7041db00a28.css 26 bytes 0 [emitted] main
|
||||
chunk {0} c7ab11336573e45dc51e.js, c815cf440254d4f3bba4e7041db00a28.css (main) 64 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/separate-css-bundle/a/file.css 41 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/separate-css-bundle/a/index.js 23 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/separate-css-bundle/a/file.css 41 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/separate-css-bundle/a/index.js 23 bytes {0} [built]
|
||||
[2] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/a/file.css 190 bytes [built]
|
||||
[3] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB [built]
|
||||
[4] (webpack)/node_modules/style-loader/addStyles.js 6.91 kB [built]
|
||||
Child extract-text-webpack-plugin:
|
||||
chunk {0} extract-text-webpack-plugin-output-filename 1.65 kB [entry] [rendered]
|
||||
[0] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/a/file.css 190 bytes {0} [built]
|
||||
[1] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB {0} [built]
|
||||
[0] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/a/file.css 190 bytes {0} [built]
|
||||
[1] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB {0} [built]
|
||||
Child
|
||||
Hash: 1139e89514abc13454ce
|
||||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
c7ab11336573e45dc51e.js 2.62 kB 0 [emitted] main
|
||||
a3f385680aef7a9bb2a517699532cc34.css 28 bytes 0 [emitted] main
|
||||
chunk {0} c7ab11336573e45dc51e.js, a3f385680aef7a9bb2a517699532cc34.css (main) 64 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/separate-css-bundle/b/file.css 41 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/separate-css-bundle/b/index.js 23 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/separate-css-bundle/b/file.css 41 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/separate-css-bundle/b/index.js 23 bytes {0} [built]
|
||||
[2] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/b/file.css 192 bytes [built]
|
||||
[3] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB [built]
|
||||
[4] (webpack)/node_modules/style-loader/addStyles.js 6.91 kB [built]
|
||||
Child extract-text-webpack-plugin:
|
||||
chunk {0} extract-text-webpack-plugin-output-filename 1.65 kB [entry] [rendered]
|
||||
[0] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/b/file.css 192 bytes {0} [built]
|
||||
[1] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB {0} [built]
|
||||
[0] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/b/file.css 192 bytes {0} [built]
|
||||
[1] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB {0} [built]
|
|
@ -2,9 +2,5 @@ Hash: 0bd4f09244f0e8c60354
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.47 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 0 bytes [entry] [rendered]
|
||||
> main [0] (webpack)/test/statsCases/simple-more-info/index.js
|
||||
[0] (webpack)/test/statsCases/simple-more-info/index.js 0 bytes {0} [built]
|
||||
factory:Xms building:Xms = Xms
|
||||
[0] (webpack)/test/statsCases/simple-more-info/index.js 0 bytes {0} [built]
|
||||
factory:Xms building:Xms = Xms
|
|
@ -2,5 +2,4 @@ Hash: 0bd4f09244f0e8c60354
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.47 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 0 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/simple/index.js 0 bytes {0} [built]
|
||||
[0] (webpack)/test/statsCases/simple/index.js 0 bytes {0} [built]
|
|
@ -2,7 +2,6 @@ Hash: 347e6d2384c1a580ac4d
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 7.33 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 588 bytes [entry] [rendered]
|
||||
[0] (webpack)/test/statsCases/tree-shaking/a.js 13 bytes {0} [built]
|
||||
[exports: a]
|
||||
[only some exports used: a]
|
||||
|
|
|
@ -2,7 +2,6 @@ Hash: 4beee256fa6b8f69eae8
|
|||
Time: Xms
|
||||
Asset Size Chunks Chunk Names
|
||||
bundle.js 2.1 kB 0 [emitted] main
|
||||
chunk {0} bundle.js (main) 1.04 kB [entry] [rendered]
|
||||
[0] (webpack)/buildin/module.js 495 bytes {0} [built]
|
||||
[1] (webpack)/test/statsCases/warnings-uglifyjs/a.js 249 bytes {0} [built]
|
||||
[2] (webpack)/test/statsCases/warnings-uglifyjs/index.js 299 bytes {0} [built]
|
||||
|
|
Loading…
Reference in New Issue