Skip to content

bu-ist/wp-scripts-terminal

Repository files navigation

wp-scripts-terminal

Trying to better understand and control the terminal output when using wp-scripts build. This is a simple repo with an intentional error in the code so I can adjust what is displayed.

Goal:

Image

Attempting to use the stats-options but not getting the desired results.

const statsConfig = {
preset: 'verbose', // Output everything.
// Settings below will modify the preset output.
errors: true, // Show errors.
errorsSpace: 5,
errorStack: false,
errorDetails: false,
warnings: false, // Hide warnings.
colors: true, // Use colors for better readability.
modules: false, // Hide module details.
chunks: false, // Hide chunk details.
chunkGroups : false,
assets: false, // Hide "assets by path" details.
entrypoints: true, // Hide the entry points with the corresponding bundles.
logging: 'none',
publicPath: false,
warningsSpace: 5,
reasonsSpace: 5,
moduleAssets: false,
moduleTrace: false,
modulesSpace: 5,
nestedModules: false,
nestedModulesSpace: 5,
chunkModulesSpace: 5,
assetsSpace: 5,
};

OTHER FINDINGS

About

trying to understand the build messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published