Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
simple-progress-webpack-plugin
Advanced tools
A simple progress plugin for Webpack, coming with four different logging output formats.
simple-progress-webpack-plugin is a plugin for Webpack. It improves the overall Webpack Developer Experience by showing a much more detailed and also visually appealing build progress in the command line. Four different output formats are available, from which two are ready to be used in a CI environment (such as GitHub Actions).
You can get the simple-progress-webpack-plugin via npm by adding it as a new dev-dependency to your package.json
file and
running npm install
. Alternatively, run the following command:
npm install simple-progress-webpack-plugin --save-dev
To use the plugin, import it into your Webpack configuration file and instantiate it within the list of plugins:
const SimpleProgressWebpackPlugin = require('simple-progress-webpack-plugin');
const webpackConfig = {
plugins: [new SimpleProgressWebpackPlugin()];
}
To customize the plugin, pass options to the constructor of the plugin:
plugins: [
new SimpleProgressWebpackPlugin({
format: 'compact',
}),
];
The following options exist, all of them totally optional:
Option | Description |
---|---|
color | Use colorized console output (might not be available on some CI systems) → Default value: true |
format | Logging output format → Default value: compact |
name | Name of the build → Default value. Webpack: Starting ... |
The following is a list of available logging output formats. While compact
is the default format, expanded
is the recommended one for
being used within a CI environment.
minimal
The minimal
logger prints everything into a single line, constantly updated during the build. This makes it look pretty similar to what
the Angular CLI outputs during build. So, if you're a minimalist, this is probably the right
logger for you!
Probably not the best choice for your CI!
simple
The simple
logger prints each build step, omitting further details. It's simply simple!
compact
(default)The compact
logger prints each build step with further details (such as the sub-progress and several sub-steps) while still not taking up
too much space (thus the name compact).
Probably not the best choice for your CI!
expanded
The expanded
logger is pretty similar to the compact
logger, but prints every sub-step into its own separate line.
verbose
The verbose
logger logs everything. Like, everything! The full truth, every crucial detail Webpack has to offer. Best use it for
debugging purposes (or for finding bugs in this plugin).
2.0.0 (2021-04-27)
Wow, more than 3 years since the last release? Time for some updates, I guess. This release mostly adds requested features, but also now requires you to use at least NodeJS 12.
simple
logging format, similar to compact
but more CI friendly (#63)name
option to customize build title (#62)FAQs
A simple progress plugin for Webpack.
We found that simple-progress-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.